felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Fedorenko (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-3349) wrong bundle manifest contents in some cases
Date Mon, 13 Feb 2012 17:21:01 GMT

     [ 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

        

Mime
View raw message