tfactor2 opened a new pull request, #498: URL: https://github.com/apache/maven-build-cache-extension/pull/498
## Summary Fix compile-only cache entries so `target/classes` is cached as an attached output archive instead of being serialized as the Maven project's main artifact. This prevents a `mvn compile` cache hit from poisoning later `mvn package`/`mvn install` runs with a directory-backed main artifact while keeping compile output caching enabled for jar modules. The change also keeps a compatibility guard for legacy cache entries that already contain a directory-backed main artifact. A zipped standalone reproducer is included under `src/test/projects/maven-cache-install-after-compile-repro.zip`. ## Tests - `mvn -q -Drat.skip=true test` - Targeted smoke ITs for `compile -> package` and `compile -> install` - Standalone reproducer against the built snapshot -- 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]
