Skip to content

Commit

Permalink
[MJAR-275] - Update maven-archiver to 3.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Solórzano <jorsol@gmail.com>
  • Loading branch information
jorsol committed Jun 13, 2022
1 parent bf52a81 commit a9f0cb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -76,7 +76,7 @@

<properties>
<mavenFileManagementVersion>3.0.0</mavenFileManagementVersion>
<mavenArchiverVersion>3.5.2</mavenArchiverVersion>
<mavenArchiverVersion>3.6.0</mavenArchiverVersion>
<mavenVersion>3.1.0</mavenVersion>
<!-- TODO remove with Maven APi upgrade -->
<!-- the same version as in Maven 3.1.0 -->
Expand Down
Expand Up @@ -141,9 +141,9 @@ public abstract class AbstractJarMojo
private boolean skipIfEmpty;

/**
* Timestamp for reproducible output archive entries, either formatted as ISO 8601
* <code>yyyy-MM-dd'T'HH:mm:ssXXX</code> or as an int representing seconds since the epoch (like
* <a href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>).
* Timestamp for reproducible output archive entries, either as
* {@link java.time.format.DateTimeFormatter#ISO_ZONED_DATE_TIME} or as an int representing seconds since the epoch
* (like <a href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>).
*
* @since 3.2.0
*/
Expand Down Expand Up @@ -257,7 +257,7 @@ public File createArchive()
archiver.setOutputFile( jarFile );

// configure for Reproducible Builds based on outputTimestamp value
archiver.configureReproducible( outputTimestamp );
archiver.configureReproducibleBuild( outputTimestamp );

archive.setForced( forceCreation );

Expand Down

0 comments on commit a9f0cb5

Please sign in to comment.