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

Michael Taeschner commented on FELIX-3630:
------------------------------------------

Current workaround is to configure the version range for the package to be 
imported inside plugin configuration or linked bnd file.
                
> Packages exported by bundle are (re)-imported with incorrect version
> --------------------------------------------------------------------
>
>                 Key: FELIX-3630
>                 URL: https://issues.apache.org/jira/browse/FELIX-3630
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.7
>            Reporter: Michael Taeschner
>         Attachments: importTest.zip
>
>
> Packages exported by bundle are (re)-imported with incorrect version using 
> the bundle version instead of the package version.
> I have created an example where the bundle is version 1.2.0-SNAPSHOT and the 
> package-version of the exported package is 1.0.0 (via *packageinfo* file)
> Resulting Manifest:
> Manifest-Version: 1.0
> Bnd-LastModified: 1345038828923
> Build-Jdk: 1.6.0_31
> Built-By: u056801
> Bundle-Description: maven-bundle-plugin Import Package Test
> Bundle-ManifestVersion: 2
> Bundle-Name: Imports Test
> Bundle-SymbolicName: com.mitaes.imports
> Bundle-Version: 1.2.0.SNAPSHOT
> Created-By: Apache Maven Bundle Plugin
> Export-Package: com.mitaes.service;version="1.0.0"
> Import-Package: com.mitaes.service;version="[1.2,2)"
> Tool: Bnd-1.50.0

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

        

Reply via email to