kwin commented on a change in pull request #30:
URL: https://github.com/apache/maven-apache-parent/pull/30#discussion_r551002830



##########
File path: pom.xml
##########
@@ -330,6 +332,13 @@ under the License.
                 <requireMavenVersion>
                   <version>3.1.1</version>
                 </requireMavenVersion>
+                <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>
+                  <!-- 
https://www.myintervals.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
 -->
+                  
<regex>^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$</regex>

Review comment:
       Done in 45d63d2.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to