Hi,

We're moving from the old maven-osgi-plugin to the maven-bundle-plugin.
We used to have a osgi-bundle subproject that embedded a library and
another jar subproject that had a compile-scope dependency on the
bundle. This worked fine. Now we're using the maven-bundle-plugin (with
the directive
<Embed-Dependency>*;scope=compile;inline=false</Embed-Dependency>) to
build the first subproject. The bundle contents look ok...all classes
are there. Unfortunately, the unit tests now fail due to a
NoClassDefFoundError: the classes in the embedded library in the bundle
cannot be found during the unit tests. When the inline option is set to
"true", then it works again. Is there a way to not inline the compile
scope dependencies in the bundle and make this work? Thanks!

Best regards,

Martijn

--

Martijn Hendriks
<GX> creative online development B.V.
 
t: 024 - 3888 261
f: 024 - 3888 621
e: [EMAIL PROTECTED]
 
Wijchenseweg 111
6538 SW Nijmegen
http://www.gx.nl/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to