How do I let the validator know that I am exposing javax.validation as a
system package. My error is
Caused by: org.osgi.service.resolver.ResolutionException: Unable to resolve
root: missing requirement [root] osgi.identity;
osgi.identity=org.glassfish.jersey.core.jersey-server; type=osgi.bundle;
version="[2.22.1,2.22.1]"; resolution:=mandatory [caused by: Unable to
resolve org.glassfish.jersey.core.jersey-server/2.22.1: missing requirement
[org.glassfish.jersey.core.jersey-server/2.22.1] osgi.wiring.package;
filter:="(&(osgi.wiring.package=javax.validation)(version>=1.1.0)(!(version>=2.0.0)))"]
I also tried adding the bundle
<bundle>mvn:javax.validation/validation-api/1.1.0.Final</bundle>
Thanks for any help,
David