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

Michael Taeschner updated FELIX-3630:
-------------------------------------

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


  was:
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:
{noformat}
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
{noformat}

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