With the maven osgi plugin, you can tell it to not include a dependency JAR file (which will result in the classes being imported). See the docs:

   http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html

-> richard

Jim M. Birchfield wrote:
The current version (0.8.0-SNAPSHOT) places the entire jar dependency in
the generated bundle jar file.  I could not figure out how to get around
this, so I patched the OsgiJarMojo.java file to allow the POM to specify
to follow the deps, or only include the ones defined locally.

Attached is the patch if anyone is interested.

Birch

Reply via email to