[
https://issues.apache.org/jira/browse/FELIX-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535830
]
Stuart McCulloch commented on FELIX-396:
----------------------------------------
the bundle plugin does use Maven's dependency resolution mechanism - could you
attach an example POM that shows this warning?
> Plugin should allow to specify -split-package directive
> -------------------------------------------------------
>
> Key: FELIX-396
> URL: https://issues.apache.org/jira/browse/FELIX-396
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Reporter: Eugene Kuleshov
> Priority: Blocker
>
> When using plugin with <Embed-Transitive>true</Embed-Transitive> and more or
> less complex dependency tree it is really easy to receive the following
> warning:
> [WARNING] Warning building bundle org.foo:boo-bundle:bundle:0.0.1 : There are
> split packages, use directive -split-package:=(merge-first|merge-last) on
> instruction to get rid of this warning: META-INF, classpath: [Jar:.,
> <skipped>] from: C:\repo\commons-io\commons-io\1.3.1\commons-io-1.3.1.jar
> Ideally plugin should take care of this by using Maven's dependency
> resolution mehanisms, so there won't be any conflicting jars.
> Also note that when <Embed-Dependency>*;inline=false</Embed-Dependency> and
> above warning happens, plugin also include multiple versions of the jar file
> into the result bundle.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.