cowwoc opened a new pull request, #512: URL: https://github.com/apache/maven-build-cache-extension/pull/512
## Summary Recreates the timestamp-preservation fix from #387 on current master after the original PR was reverted. - Preserves file, nested-directory, and extraction-root timestamps in cached ZIPs. - Defers directory timestamp restoration until extraction completes. - Preserves newer master CacheUtils helpers and existing ZIP API callers. - Bumps the cache implementation namespace to v1.2 for the archive-format change. - Keeps CacheConfig implementations binary-compatible. - Adds focused timestamp coverage and documents the configuration using valid XML. ## Validation - Maven 3.9.16: [[1;34mINFO[m] Scanning for projects... [[1;34mINFO[m] [[1;34mINFO[m] [1m------< [0;36morg.apache.maven.extensions:maven-build-cache-extension[0;1m >-------[m [[1;34mINFO[m] [1mBuilding Apache Maven Build Cache Extension 1.2.4-SNAPSHOT[m [[1;34mINFO[m] [1m--------------------------------[ jar ]---------------------------------[m [[1;33mWARNING[m] The artifact com.github.tomakehurst:wiremock-jre8:jar:3.0.1 has been relocated to org.wiremock:wiremock:jar:3.0.1 [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-enforcer-plugin:3.6.3:enforce[m [1m(enforce-bytecode-version)[m @ [36mmaven-build-cache-extension[0;1m ---[m [[1;34mINFO[m] Rule 0: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-enforcer-plugin:3.6.3:enforce[m [1m(enforce-maven-version)[m @ [36mmaven-build-cache-extension[0;1m ---[m [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;34mINFO[m] [1;31mBUILD FAILURE[m [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;34mINFO[m] Total time: 1.148 s [[1;34mINFO[m] Finished at: 2026-07-19T15:46:11-04:00 [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-enforcer-plugin:3.6.3:enforce[m [1m(enforce-maven-version)[m on project [36mmaven-build-cache-extension[m: [1;31m[m [[1;31mERROR[m] [1;31mRule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion failed with message:[m [[1;31mERROR[m] [1;31mDetected Maven Version: 3.8.7 is not in the allowed range [3.9.0,).[m [[1;31mERROR[m] -> [1m[Help 1][m [[1;31mERROR[m] [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch. [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging. [[1;31mERROR[m] [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles: [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException — 86 passed, 4 skipped. - Spotless check passed. - RAT was skipped because unrelated workspace metadata is unapproved. -- 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]
