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 2021/12/26 21:53:00 UTC
[jira] [Closed] (MPOM-266) Incorrect message with missing property "project.build.outputTimestamp"
[ https://issues.apache.org/jira/browse/MPOM-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MPOM-266.
------------------------------
Fix Version/s: ASF-25
Assignee: Herve Boutemy
Resolution: Invalid
message was simply removed when re-enabling reproducible builds for Apache parent release MPOM-265
> Incorrect message with missing property "project.build.outputTimestamp"
> -----------------------------------------------------------------------
>
> Key: MPOM-266
> URL: https://issues.apache.org/jira/browse/MPOM-266
> Project: Maven POMs
> Issue Type: Bug
> Components: asf
> Affects Versions: ASF-24
> Reporter: Konrad Windszus
> Assignee: Herve Boutemy
> Priority: Major
> Fix For: ASF-25
>
>
> The check introduced with MPOM-255 emits the following error message:
> bq. The property "project.build.outputTimestamp" must be set on the reactor's root pom.xml to make the build reproducible. Further information at "https://maven.apache.org/guides/mini/guide-reproducible-builds.html".
> Having the property on the reactor's root pom.xml is not sufficient though in case reactor root != parent.
> Consider the following project structure
> {code}
> reactor root (has no parent)
> + module1 (has parent: parent)
> + parent (has parent: asf-parent)
> {code}
> In this case setting the property in {{reactor root}} is not enough, as each module's effective pom.xml must contain the property {{project.build.outputTimestamp}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)