desruisseaux commented on code in PR #508:
URL: https://github.com/apache/maven-jar-plugin/pull/508#discussion_r3891614804
##########
src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java:
##########
@@ -136,18 +142,26 @@ public abstract class AbstractJarMojo implements
org.apache.maven.api.plugin.Moj
* Timestamp for reproducible output archive entries.
* This is either formatted as ISO 8601 extended offset date-time
* (e.g. in UTC such as '2011-12-03T10:15:30Z' or with an offset
'2019-10-05T20:37:42+06:00'),
- * or as an integer representing seconds since the epoch
- * (like <a
href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>).
+ * or as an integer representing seconds since the Java epoch (January
1st, 1970).
+ * If not configured or disabled,
+ * the <a
href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>
+ * environment variable is used as a fallback value,
+ * to ease forcing Reproducible Build externally when the build has not
enabled it natively in <abbr>POM</abbr>.
+ *
+ * <p>This property is supported only with Java Development Kit
(<abbr>JDK</abbr>) version 19 or later.</p>
Review Comment:
Replacement done as suggested.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]