Hi Andreas,

but the format of the timestamp is completely different ... doesn't that matter?
I was currently going for the option number 1 with removing the header.

In order to be 100% happy with this, I would prefer a setup where the normal 
mechanisms are used if no maven.build.outputTimestap is defined, but if it is 
(because a future version of the maven release plugin set it there) it uses 
that.

Will try out your suggestions as soon as I'm able to build again (I 
unfortunately installed that Mac OS update ... now things aren't working as 
they should be)

Chris



Am 04.11.19, 09:42 schrieb "Andreas Sewe" <[email protected]>:

    Christofer Dutz wrote:
    > Well I have a new candidate:
    > 
    > <artifactId>maven-bundle-plugin</artifactId>
    >  
    > Creates: Bnd-LastModified in the MANIFEST.MF
    > 
    > Gotta find out a way to either suppress that entry (Would be great if it 
could consume the same property)
    
    <configuration>
      <instructions>
        <_removeheaders>Bnd-LastModified</_removeheaders>
      </instructions>
    <configuration>
    
    Alternatively
    
    <configuration>
      <instructions>
        <Bnd-LastModified>${maven.build.outputTimestap}</Bnd-LastModified>
      </instructions>
    <configuration
    
    Hope that helps,
    
    Andreas
    
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]
    
    


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to