Merge branch '3.2.x' into 3.3.x

Closes gh-42935
This commit is contained in:
Stéphane Nicoll
2024-10-30 16:39:32 +09:00
4 changed files with 69 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -154,7 +154,7 @@ public class BuildInfoMojo extends AbstractMojo {
if ("off".equalsIgnoreCase(this.time)) {
return null;
}
return Instant.parse(this.time);
return new MavenBuildOutputTimestamp(this.time).toInstant();
}
}