[ 
https://issues.apache.org/jira/browse/FELIX-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228682#comment-13228682
 ] 

Stuart McCulloch commented on FELIX-3392:
-----------------------------------------

Any reason for using:

        <configuration>
          <archive>
            <manifestEntries>
              <Build-Timestamp>${timestamp}</Build-Timestamp>
            </manifestEntries>
          </archive>
        </configuration>

Instead of:

        <configuration>
          <instructions>
            <Build-Timestamp>${timestamp}</Build-Timestamp>
          </instructions>
        </configuration>

which BND can interpolate?
                
> 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

        

Reply via email to