This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch maven-archiver-3.x in repository https://gitbox.apache.org/repos/asf/maven-archiver.git
The following commit(s) were added to refs/heads/maven-archiver-3.x by this push: new eea6154 [MSHARED-1446] Add docs about repro build output timestamp boundaries eea6154 is described below commit eea61540e1fbea17c881025b9925ecc80a3d6fd3 Author: Michael Osipov <micha...@apache.org> AuthorDate: Fri Oct 18 14:28:27 2024 +0200 [MSHARED-1446] Add docs about repro build output timestamp boundaries This closes #73 --- src/main/java/org/apache/maven/archiver/MavenArchiver.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/archiver/MavenArchiver.java b/src/main/java/org/apache/maven/archiver/MavenArchiver.java index c818a46..5ea457e 100644 --- a/src/main/java/org/apache/maven/archiver/MavenArchiver.java +++ b/src/main/java/org/apache/maven/archiver/MavenArchiver.java @@ -748,7 +748,9 @@ public class MavenArchiver { * contains only 1 character (not a number) * @since 3.6.0 * @throws IllegalArgumentException if the outputTimestamp is neither ISO 8601 nor an integer, or it's not within - * the valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z + * the valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z as defined by + * <a href="https://pkwaredownloads.blob.core.windows.net/pem/APPNOTE.txt">ZIP application note</a>, + * section 4.4.6. */ public static Optional<Instant> parseBuildOutputTimestamp(String outputTimestamp) { // Fail-fast on nulls