You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2007/10/18 08:15:50 UTC
[jira] Updated: (FELIX-396) split-package warnings during embedding
of transitive dependencies
[ https://issues.apache.org/jira/browse/FELIX-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch updated FELIX-396:
-----------------------------------
Summary: split-package warnings during embedding of transitive dependencies (was: Plugin should allow to specify -split-package directive)
Fixed title to match problem text - note that it is possible to add the split-package directive in the BND instructions:
Export-Package: foo.bar;-split-package:=merge-first
you would need to explicitly do this when you are combining classes with the same package from different locations.
> split-package warnings during embedding of transitive dependencies
> ------------------------------------------------------------------
>
> Key: FELIX-396
> URL: https://issues.apache.org/jira/browse/FELIX-396
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Reporter: Eugene Kuleshov
> Assignee: Stuart McCulloch
>
> 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.