You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/08/24 14:53:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17403853#comment-17403853 ]
Michael Osipov commented on MPOM-266:
-------------------------------------
I wonder whether we can detect this is a reactor or aggregator...
> 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
> Priority: Major
>
> 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.3.4#803005)