Details
-
Dependency upgrade
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-archiver-3.5.2
-
None
Description
Maven Archiver 3.5.0 introduces some methods to parse the timestamp and configure the reproducible builds in plexus-archiver.
The proposal for improvement is to leverage Java 8 APIs and deprecate older methods.
- Deprecate the method
public Date parseOutputTimestamp( String outputTimestamp )
and introduce a new static method:
public static Optional<Instant> parseBuildOutputTimestamp( String outputTimestamp )
- Deprecate the method
public Date configureReproducible( String outputTimestamp )
and introduce the method
public void configureReproducibleBuild( String outputTimestamp )
The new API return an Optional<Instant> parsing the timestamp using java.time.format.DateTimeFormatter#ISO_INSTANT.
Attachments
Issue Links
- causes
-
MSHARED-1445 Unix timestamps since the epoch are not subject to the boundary checks
- Closed
- requires
-
MSHARED-1066 Upgrade Plexus Archiver to 4.3.0
- Closed
- supercedes
-
MSHARED-955 Make MavenArchiver.parseOutputTimestamp static
- Closed