This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch MSHARED-1446 in repository https://gitbox.apache.org/repos/asf/maven-archiver.git
commit ce1437bfd7ecba8e7364234b3d3bd82fae6d4733 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 6a6e446..a6025c0 100644 --- a/src/main/java/org/apache/maven/archiver/MavenArchiver.java +++ b/src/main/java/org/apache/maven/archiver/MavenArchiver.java @@ -685,7 +685,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