You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Paul Gier (Updated) (JIRA)" <ji...@apache.org> on 2012/03/13 21:40:41 UTC

[jira] [Updated] (FELIX-3392) Generated Manifest ignores properties set by other plugins

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

Paul Gier updated FELIX-3392:
-----------------------------

    Attachment: test-bundle-properties.zip

The attached project demonstrates this problem.  Both the bundle plugin and the jar plugin generate jar files, but only the jar plugin generates the correct timestamp value in the manifest.
                
> Generated Manifest ignores properties set by other plugins
> ----------------------------------------------------------
>
>                 Key: FELIX-3392
>                 URL: https://issues.apache.org/jira/browse/FELIX-3392
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.7
>            Reporter: Paul Gier
>         Attachments: test-bundle-properties.zip
>
>
> My usecase is that I want to generate a build timestamp for my build using the buildnumber-maven-plugin, then add this timestamp to my jar manifest.  Using the maven jar plugin, this works as expected and the property is set.  Using the bundle plugin, the property is not resolved and I get something like "${timestamp}" in my manifest.  It appears that the bundle plugin does not resolve properties that were set earlier in the build.

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