Uploaded image for project: 'Maven POMs (Moved to GitHub issues) '
  1. Maven POMs (Moved to GitHub issues)
  2. MPOM-266

Incorrect message with missing property "project.build.outputTimestamp"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • ASF-24
    • ASF-25
    • asf
    • None

    Description

      The check introduced with MPOM-255 emits the following error message:

      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

      reactor root (has no parent)
      + module1 (has parent: parent)
      + parent (has parent: asf-parent)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: