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/08/25 07:07:00 UTC

[jira] [Comment Edited] (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=17404231#comment-17404231 ] 

Herve Boutemy edited comment on MPOM-266 at 8/25/21, 7:06 AM:
--------------------------------------------------------------

notice that given we'll probably remove that check in MPOM-265 given the check does not support parent POM projects, the message will disappear...

but probably such explanation would remain useful in https://maven.apache.org/guides/mini/guide-reproducible-builds.html
(even if people won't read complex documentation: at least intro can remain simple, hiding that subtle case, and FAQ part can provide details for motivated people)


was (Author: hboutemy):
notice that given we'll probably remove that check in MPOM-265 given the check does not support parent POM projects, the message will disappear...

> 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)