You can add those bundles as libraries https://github.com/apache/karaf/blob/master/assemblies/apache-karaf/pom.xml#L185-L200
2016-03-01 18:46 GMT+01:00 David Daniel <[email protected]>: > 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 > -- ------------------------ Guillaume Nodet ------------------------ Red Hat, Open Source Integration Email: [email protected] Web: http://fusesource.com Blog: http://gnodet.blogspot.com/
