felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2016) Embed-Transitive not working reliably
Date Wed, 12 Jun 2013 19:04:19 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681511#comment-13681511

Alexander Klimetschek commented on FELIX-2016:

I agree, that behavior is completely different from what you expect when seeing it and reading
the documentation.

I think "Embed-Transitive" can be dropped (it seems quite useless to me, since you  and replaced
by adding a directive on items in the Embed-Dependency list. Because in many cases you embed
multiple libraries, but don't want transitive embeds for all of them:


And then maybe also allow exclusions on the individual transitive dependency "trees":


This is more intuitive than the wildcard + scope approach, which is the "simplest" way to
get things running. From experience, it is always a huge lot of work and fiddling when embedding
> Embed-Transitive not working reliably 
> --------------------------------------
>                 Key: FELIX-2016
>                 URL: https://issues.apache.org/jira/browse/FELIX-2016
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.1
>            Reporter: Michael Dürig
> <Embed-Transitive>true</Embed-Transitive> only includes the transitive dependencies
when Embed-Dependency contains a wildcard pattern (i.e. <Embed-Dependency>*</Embed-Dependency>).
Otherwise only the direct dependencies of the ones specified in the Embed-Dependency tag are

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message