[
https://issues.apache.org/jira/browse/MSHARED-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572884#comment-16572884
]
Emmanuel Bourg commented on MSHARED-661:
----------------------------------------
Capturing information about the tools used to build the artifacts is important,
because for achieving reproducibility one is supposed to reuse the same tools
and dependencies that were originally used. However this information probably
doesn't belong to the jar manifest. For example in Debian the build environment
of a package is captured in a [.buildinfo
file|https://wiki.debian.org/ReproducibleBuilds/BuildinfoFiles] deployed along
the package. This file is then used to recreate an identical build environment.
In the Maven world this could translate into an additional artifact detailing
the relevant info about the build environment and deployed along the pom, or
extra information added inside the pom at build time.
I think it's fine to keep the Created-By and Built-Jdk attributes for now until
another way of capturing the build environment is agreed upon. The Built-By
attribute on the other hand should be removed right off, the identity of the
person creating the artifact is already known with the GPG signature anyway.
> Make "Built-By", "Built-Jdk" and "Created-By" Manifest entries optional for
> reproducible builds
> -----------------------------------------------------------------------------------------------
>
> Key: MSHARED-661
> URL: https://issues.apache.org/jira/browse/MSHARED-661
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-archiver
> Reporter: Zlika
> Priority: Minor
>
> Maven-archiver automatically creates "Built-By", "Build-Jdk" and "Created-By"
> Manifest entries. In the frame of a reproducible build (cf. MNG-6276) these
> entries make the build not reproducible.
> Maven-archiver should propose an option to disable the creation of these
> non-reproducible manifest entries.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)