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 (Commented) (JIRA)" <ji...@apache.org> on 2011/12/05 00:12:39 UTC

[jira] [Commented] (FELIX-3254) manifest goal generates work Export-Package when Embed-Dependency

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

Stuart McCulloch commented on FELIX-3254:
-----------------------------------------

If it is related to FELIX-3206 (which actually fixes a previous regression wrt. the behaviour of the manifest goal) then it sounds like you need bnd to do a full rebuild of the bundle when creating the manifest (so bnd can fully analyze the embedded/merged content) in which case you can simply add <rebuildBundle>true</rebuildBundle> to the configuration to get the pre-FELIX-3206 behaviour.

Note that FELIX-3206 is unlikely to be reverted since there are valid use-cases when you don't want to rebuild the bundle in memory, and this was the original behaviour.
                
> manifest goal generates work Export-Package when Embed-Dependency
> -----------------------------------------------------------------
>
>                 Key: FELIX-3254
>                 URL: https://issues.apache.org/jira/browse/FELIX-3254
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.6
>            Reporter: Igor Fedorenko
>         Attachments: FELIX-3254.zip
>
>
> manifest goal does not seem to consider Embed-Dependency and _exportcontents when generating Export-Package in 2.3.6. This used to work in 2.3.5 and looks like a regression introduced by FELIX-3206. I'll attach a sample project that demonstrates the problem shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira