Is it possible for "provided" dependencies to be passed as well?
I am creating an OSGi bundle, based on an existing jar from a separate Maven project. The bundle will wrap the jar, instantiating selected classes as Spring beans. The jar is traditionally deployed in a web container, with some of its dependencies provided in a separate directory. I want to have all of its dependencies (compile | provided | runtime) embedded in the bundle. As a workaround, I've copied the jar's scope-provided dependencies into the bundle's pom.xml. It denormalizes things a little. Is there a way to make BND see "provided" transitive dependencies? --Steve Will Horn wrote: > > Hi, > > I see this clear message at the top of > http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html: > > NOTE: only compile, runtime and system scoped dependencies are passed to > BND. Provided and test dependencies are not included in the classpath seen > by BND. > > [It actually discusses test scoped dependencies, not provided.] > > -- View this message in context: http://www.nabble.com/maven-bundle-plugin-embed-dependency-for-test-scope-tp19653799p23175780.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org