You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2019/10/05 15:34:00 UTC
[jira] [Created] (MSHARED-837) add an API to configure Reproducible
Builds with outputTimestamp
Herve Boutemy created MSHARED-837:
-------------------------------------
Summary: add an API to configure Reproducible Builds with outputTimestamp
Key: MSHARED-837
URL: https://issues.apache.org/jira/browse/MSHARED-837
Project: Maven Shared Components
Issue Type: New Feature
Components: maven-archiver
Affects Versions: maven-archiver-3.4.0
Reporter: Herve Boutemy
Assignee: Herve Boutemy
Fix For: maven-archiver-3.4.1
creating an archive in a Reproducible Builds way requires to configure archiver with an output timestamp: see https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318
The timestamp value can't be natively injected as Date with Plexus, because Plexus Date injection uses local timezone, then is not reproducible: see https://codehaus-plexus.github.io/plexus-containers/plexus-container-default/xref/org/codehaus/plexus/component/configurator/converters/basic/DateConverter.html
Then we need top inject ${project.build.outputTimestamp} as a String and provide an API to parse this String to a Date, before calling plexus-archiver's configureReproducible https://github.com/codehaus-plexus/plexus-archiver/pull/121
--
This message was sent by Atlassian Jira
(v8.3.4#803005)