Open GoogleCodeExporter opened 9 years ago
This dependency is correct - the extensions need to compile against the
pre-jarjar'd build of Guice before they are jarjar'd themselves. This
particular build artifact is not uploaded to Maven central to avoid people
depending on it by mistake, but because it's an optional dependency (used only
at compile time) it won't affect people using the individual extension
artifacts.
The bug here is in the bundleall goal of the maven-bundle-plugin which appears
to ignore the optional setting on the dependency and treats it as required.
Personally I would avoid using the bundleplugin's bundleall goal and use
something like Embed-Dependency to wrap jars into bundles, because a) the
specific bundleall goal is no longer maintained b) the bundles it creates have
poor OSGi metadata and c) you lose the inter-dependency information between the
wrapped bundles.
PS Guice and its extensions already have OSGi metadata already and don't need
to be "bundlized".
Original comment by mccu...@gmail.com
on 6 Mar 2011 at 1:18
Original issue reported on code.google.com by
js.cedar...@gmail.com
on 5 Mar 2011 at 7:59