You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Igor Fedorenko (Created) (JIRA)" <ji...@apache.org> on 2012/02/13 18:18:59 UTC

[jira] [Created] (FELIX-3349) wrong bundle manifest contents in some cases

wrong bundle manifest contents in some cases
--------------------------------------------

                 Key: FELIX-3349
                 URL: https://issues.apache.org/jira/browse/FELIX-3349
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-2.3.6
            Reporter: Igor Fedorenko


When maven-jar-plugin configuration uses relative manifestFile path (i.e. <manifestFile>META-INF/MANIFEST.MF</manifestFile>), org.apache.felix.bundleplugin.JarPluginConfiguration will calculate manifestFile relative to JVM current working directory instead of ${project.basedir}. This can result in unexpected/wrong generated bundle manifest contents for multi-module projects. I'll attach an example 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

        

[jira] [Updated] (FELIX-3349) wrong bundle manifest contents in some cases

Posted by "Igor Fedorenko (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Fedorenko updated FELIX-3349:
----------------------------------

    Attachment: mbp-wrong-bsn.zip

Running "mvn clean package" from the root of the attached project results in wrong Bundle-SymbolicName:this.aint.right . Running "mvn clean package" from bundle/ subdirectory generates expected Bundle-SymbolicName: maven-bundle-plugin.bundle
                
> wrong bundle manifest contents in some cases
> --------------------------------------------
>
>                 Key: FELIX-3349
>                 URL: https://issues.apache.org/jira/browse/FELIX-3349
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.6
>            Reporter: Igor Fedorenko
>         Attachments: mbp-wrong-bsn.zip
>
>
> When maven-jar-plugin configuration uses relative manifestFile path (i.e. <manifestFile>META-INF/MANIFEST.MF</manifestFile>), org.apache.felix.bundleplugin.JarPluginConfiguration will calculate manifestFile relative to JVM current working directory instead of ${project.basedir}. This can result in unexpected/wrong generated bundle manifest contents for multi-module projects. I'll attach an example 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