Brandon Schmitt created FELIX-6814:
--------------------------------------
Summary: 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
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)