I'm looking into transitioning my company's application to OSGi using
Felix. One of the issues that would have to be addressed to make this
work is to gather bundles for every dependency of said application, akin
to what maven-assembly-plugin does for regular JARs. So I tried to use
maven-bundle-plugin's 'bundleall' goal.

Turns out bundleall is trying to bring in optional transitive
dependencies! This shouldn't happen at all; Maven optional dependencies
are not transitive. Worse, apparently one optional transitive dependency
is on xml-apis:xml-apis:jar:2.6.2, which does not exist; bundleall fails
as a result.

What can I do to work around this problem?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to