You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/08/24 09:05:00 UTC

[jira] [Created] (MPOM-266) Incorrect message with missing property "project.build.outputTimestamp"

Konrad Windszus created MPOM-266:
------------------------------------

             Summary: 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


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)