[ 
https://issues.apache.org/jira/browse/MSHARED-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914741#comment-17914741
 ] 

Delany commented on MSHARED-1460:
---------------------------------

What makes it a "breaking change"? The point of this MR was to stop it from 
breaking.

More importantly, how do I fix my project?

I set this

 
{noformat}
<project.build.outputTimestamp>${maven.build.timestamp}</project.build.outputTimestamp>{noformat}
and this in its build pom parent (a separate project)
{code:java}
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
<project.build.outputTimestamp>2025-01-19T12:16:50Z</project.build.outputTimestamp>
{code}
I update the remote-resource-plugin and my project fails to build

 
{code:java}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-remote-resources-plugin:3.3.0:process
> (process-commondb) on project persistencedb: Execution process-commondb of
> goal org.apache.maven.plugins:maven-remote-resources-plugin:3.3.0:process
> failed: '1970-08-23T09:01:59Z' is not within the valid range
> 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z -> [Help 1] {code}
How do I see where this "1970" number is, because its not in the build parent?

 

> Default to minimum date when parsing build output timestamp
> -----------------------------------------------------------
>
>                 Key: MSHARED-1460
>                 URL: https://issues.apache.org/jira/browse/MSHARED-1460
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-archiver
>    Affects Versions: maven-archiver-3.6.3
>            Reporter: Delany
>            Priority: Major
>
> MavenArchiver.parseBuildOutputTimestamp throws an IllegalArgumentException 
> when it could just return the DATE_MIN and potentially log a warning.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to