Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] A bundle dilemma

I've found, I think, a bug in the maven-bundle-plugin.

In my particular case, it generated the correct manifest into
target/classes/META-INF ... and then sticks a *different* manifest
into the result jar.

So I tried to work around this by avoiding the 'bundle' packaging. By
using the 'manifest' goal and some jar plugin config, I succeeded in
getting it to leave the right manifest in place.

Unfortunately, I can't seem to persuade M2E to pay attention to the
embedded jars in the resulting artifact. In fact, M2E seems to not
recognize my project as a bundle at all.

In eclipse, I get errors like:

Bundle 'org.apache.maven.doxia.ide.dependencies' cannot be resolved


Back to the top