This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Description
As it seems for some strange reason in CXF the oasp4j-starter-cxf-server-rest only works if additionally the dependency cxf-rt-ws-policy is present.
This is silly and seems like a design bug in CXF as REST should not depend on ws-policy what is SOAP related. However with only oasp4j-starter-cxf-server-rest in place the app wont boot up unless cxf-rt-ws-policy is present.
As oasp4j-starter-cxf-server-ws is indirectly depending on cxf-rt-ws-policy all works fine if both oasp4j-starter-cxf-server-rest and oasp4j-starter-cxf-server-ws are in place.
However, IMHO the idea of our Opt-In strategy should be that each starter works self-contained what is currently not the case.
Even though it appears odd, we IMHO need to add a dependency to cxf-rt-ws-policy in oasp4j-starter-cxf-server-rest.