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

Paul Rütter commented on FELIX-6814:
------------------------------------

Merged to master, pending to be released in the near future.

> Use project.build.outputTimestamp's value for -reproducible instruction
> -----------------------------------------------------------------------
>
>                 Key: FELIX-6814
>                 URL: https://issues.apache.org/jira/browse/FELIX-6814
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-6.0.0
>            Reporter: Brandon Schmitt
>            Priority: Minor
>             Fix For: 6.0.1
>
>
> FELIX-6469 introduced the automatic addition of the -reproducible instruction 
> when the project.build.outputTimestamp property is set.
> However, it statically sets the instruction to "true" even though the [bnd 
> tools allow a 
> timestamp|https://bnd.bndtools.org/instructions/reproducible.html], too.
> Simply setting it to "true" results in all files in the bundle to have the 
> timestamp 1980-02-01T00:00:00Z. This causes issues, when the timestamp is 
> used in caching mechanisms, like Jetty's E-Tag generation.
> You can also not overwrite this behavior by providing a 
> <_reproducible>${timestamp}</_reproducible> in the plugin config as long as 
> the project.build.outputTimestamp is set.
> The easy solution will be to copy the value of Maven's 
> project.build.outputTimestamp property for the -reproducible instruction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to