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 2013/06/07 16:38:21 UTC

[jira] [Updated] (FELIX-2991) Allow the creating of fragments that populate Export-Package

     [ https://issues.apache.org/jira/browse/FELIX-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-2991:
------------------------------------

    Fix Version/s: maven-bundle-plugin-patches-welcome
    
> Allow the creating of fragments that populate Export-Package 
> -------------------------------------------------------------
>
>                 Key: FELIX-2991
>                 URL: https://issues.apache.org/jira/browse/FELIX-2991
>             Project: Felix
>          Issue Type: New Feature
>          Components: Maven Bundle Plugin
>            Reporter: Michael Van Geertruy
>             Fix For: maven-bundle-plugin-patches-welcome
>
>
> When using the maven-bundle-plugin to create fragments which add export-packages to a host bundle, the maven-bundle-plugin considers all of the export-packages as superfluous, does not add them to the fragment's MANIFEST.MF file and fails to compile.  
> The specific case is when attempting to add exports to a bundle where bnd-wrapping doesn't pick up all of the necessary packages. For example, when executing this line in Karaf:
> osgi:install -s mvn:tibco/tibco-crypt/5.1.2
> The wrap command skips over a number of packages. So creation of a fragment is necessary. However, the build fails for the above noted reason. The work-around for this issue is to use the maven-jar-plugin to create the fragment.

--
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