Jochen Schalanda created FELIX-6304:
---------------------------------------
Summary: bundle:bundle generates non-reproducible JAR archives
(timestamps)
Key: FELIX-6304
URL: https://issues.apache.org/jira/browse/FELIX-6304
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-5.1.1
Reporter: Jochen Schalanda
The JAR archives built by maven-bundle-plugin are not reproducible (as in
reproducible builds) because the timestamps of their entries are variable and
are using the current system time.
The maven-jar-plugin supports using a fixed timestamp via the
[outputTimestamp|https://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html#outputTimestamp]
setting (default: {{${project.build.outputTimestamp}}}) while the
maven-bundle-plugin doesn't expose a similar setting.
Support for reproducible builds in the maven-jar-plugin was added with this
commit:
[https://github.com/apache/maven-jar-plugin/commit/64c5e6530b4712cd95501fffb2de6bb1a202cd89]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)