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 2012/11/07 20:50:13 UTC

[jira] [Resolved] (FELIX-3630) Packages exported by bundle are (re)-imported with incorrect version

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

Stuart McCulloch resolved FELIX-3630.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: maven-bundle-plugin-2.4.0

As mentioned in previous comment, additional executions are now properly handled in trunk.
                
> 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
>             Fix For: maven-bundle-plugin-2.4.0
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira