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

Enforce local property "project.build.outputTimestamp" for reproducible builds

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • ASF-23
    • ASF-24
    • asf
    • None

    Description

      In case the release's root pom.xml doesn't overwrite "project.build.outputTimestamp" it takes the value from https://github.com/apache/maven-apache-parent/blob/4813409e6a1ecfea11c8eb22a5f0443f790f1454/pom.xml#L95.

      Instead of the fallback an enforcer rule should be added to require a property "project.build.outputTimestamp" to be set in the right format for reproducible builds to work (https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-do-i-configure-my-maven-build) for every pom.xml locally.

      Only that way the timestamps are automatically adjusted with each release (https://issues.apache.org/jira/browse/MRELEASE-1029)

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              kwin Konrad Windszus
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: