-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed as not planned
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug
Description
We use a custom timestamp for the build-info maven goal like this:
...
<properties>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss.SSS'Z'</maven.build.timestamp.format>
....
<plugins>
...
<configuration>
<time>${maven.build.timestamp}</time>
</configuration>
<goals>
<goal>repackage</goal>
<goal>build-info</goal>
</goals>
...
As you can see, the timestamp has sub-second precision and was also printed to the build properties like this:
build.time=2024-12-19T19\:59\:39.040Z
Since Spring Boot 3.3.6 (with this commit), this is effectively truncated to seconds:
build.time=2024-12-19T19\:59\:39Z
This turns out to be a breaking change for us. We can fix our problem by reconfiguring maven.build.timestamp.format
to second precision.
So, I don't really expect a fix here, but you may want to add these to the release notes, as this might cause problems when updating.
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug