You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/02/16 17:02:00 UTC
[jira] [Closed] (MJAR-301) maven jar plugin does not support all cases of ISO 8601 dates for project.build.outputTimestamp
[ https://issues.apache.org/jira/browse/MJAR-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MJAR-301.
-------------------------------
Resolution: Information Provided
> maven jar plugin does not support all cases of ISO 8601 dates for project.build.outputTimestamp
> -----------------------------------------------------------------------------------------------
>
> Key: MJAR-301
> URL: https://issues.apache.org/jira/browse/MJAR-301
> Project: Maven JAR Plugin
> Issue Type: Bug
> Affects Versions: 3.3.0
> Reporter: S L
> Priority: Major
> Attachments: git-plugin-timestamp-problem-demo_minimal.zip
>
>
> Originally reported in [https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/674] by "Interessierter".
>
> May or may not be related to https://issues.apache.org/jira/browse/MJAR-300.
>
> The support for reproducible builds (ISO 8601 date formats) should have been added to the maven-jar-plugin in version 3.2.X (via https://issues.apache.org/jira/browse/MJAR-263).
>
> The documentation of the maven-jar-plugin ([https://github.com/apache/maven-jar-plugin/blob/63f9c982d49f046519088490d7a8af5a7cd647fb/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java#L144]) even claims it can process ISO 8601 date formats as input for project.build.outputTimestamp, however there seems to be some cases that are unsupported.
>
> Not supported:
> 2022-02-12T15:30:45
> 2024-02-15T13:54:59+0100 (note with an extra ':' like '+01:00' this works)
>
> Not supported edge cases:
> 2022-W06
> 2022-W06-5
> 2022-W06-5T15:30:45
> 2019-03-26T14:00.9Z
--
This message was sent by Atlassian Jira
(v8.20.10#820010)