Skip to content

Commit

Permalink
[MPOM-265] re-enable reproducible builds for Apache parent release
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Dec 26, 2021
1 parent 25552ef commit 30f681c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
36 changes: 1 addition & 35 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ under the License.
<maven.compiler.target>1.7</maven.compiler.target>
<surefire.version>2.22.2</surefire.version><!-- for surefire, failsafe and surefire-report -->
<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>
<!-- set this property for all derived projects:
<project.build.outputTimestamp>2020-01-22T15:10:38Z</project.build.outputTimestamp>
-->
<project.build.outputTimestamp>2021-07-14T15:10:38Z</project.build.outputTimestamp>
</properties>

<repositories>
Expand Down Expand Up @@ -483,37 +481,5 @@ under the License.
</build>
</profile>
<!-- END SNIPPET: release-profile -->
<profile>
<id>enforce-output-timestamp-property</id>
<activation>
<file>
<missing>${basedir}/.maven-apache-parent.marker</missing>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-output-timestamp-property</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>project.build.outputTimestamp</property>
<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".</message>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
2 changes: 1 addition & 1 deletion src/site-docs/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Apache Software Foundation Parent POM

+------+
<properties>
<project.build.outputTimestamp>1</project.build.outputTimestamp>
<project.build.outputTimestamp>10</project.build.outputTimestamp>
</properties>
+------+

Expand Down

0 comments on commit 30f681c

Please sign in to comment.