jira-importer commented on issue #190: URL: https://github.com/apache/maven-source-plugin/issues/190#issuecomment-2959554317
**[Plamen Totev](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=plamenttv)** commented I think I found the root cause. In order to set the Zip entry timestamp Plexus Archiver calls `java.util.zip.ZipEntry#setTime`. If you follow the method logic you'll see it actually calls `java.util.zip.ZipUtils#javaToDosTime` ```java Instant instant = Instant.ofEpochMilli(time); LocalDateTime ldt = LocalDateTime.ofInstant( instant, ZoneId.systemDefault()); ``` So actually the resulting ZIP archive depends on the build machine time zone. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
