diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java index c93f49a..6a48c17 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java +++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java @@ -564,7 +564,7 @@ private File createZipArchiveFromImage(File outputDirectory, File outputDirector zipArchiver.addDirectory(outputDirectoryImage); // configure for Reproducible Builds based on outputTimestamp value - Optional lastModified = new MavenArchiver().parseBuildOutputTimestamp(outputTimestamp); + Optional lastModified = MavenArchiver.parseBuildOutputTimestamp(outputTimestamp); if (lastModified.isPresent()) { zipArchiver.configureReproducibleBuild(FileTime.from(lastModified.get())); }