setup-java/__tests__
Copilot 2a07c83aea
feat: add .mvn/extensions.xml to Maven cache key pattern (#1041)
* Initial plan

* feat: add .mvn/extensions.xml to Maven cache key pattern

Closes #990

Maven build extensions declared in `.mvn/extensions.xml` can introduce
additional plugin dependencies (e.g. lifecycle participants, custom
packaging types). Including this file in the cache key hash ensures that
changes to extensions — which affect what plugin JARs Maven downloads —
properly invalidate the cache, preventing stale caches from missing
newly-required plugin dependencies.

Changes:
- src/cache.ts: add `**/.mvn/extensions.xml` to Maven pattern array
- __tests__/cache.test.ts: update pattern expectations; add new test
- README.md: document the new file in the Maven cache key hash list

* test: update maven cache error test name for extensions.xml

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Bruno Borges <brborges@microsoft.com>
2026-07-08 10:07:54 +01:00
..
cache feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
data dist: Migrate from Zulu Discovery API to Azul Metadata API (#1010) 2026-07-08 10:00:43 +01:00
distributors dist: Migrate from Zulu Discovery API to Azul Metadata API (#1010) 2026-07-08 10:00:43 +01:00
auth.test.ts feat: Disable interactiveMode in generated Maven settings.xml (#1052) 2026-07-02 17:22:38 -04:00
cache.test.ts feat: add .mvn/extensions.xml to Maven cache key pattern (#1041) 2026-07-08 10:07:54 +01:00
cleanup-java.test.ts Spelling (#713) 2026-06-22 10:57:54 -04:00
gpg.test.ts feat: Add verify-signature plumbing and Temurin+Microsoft verification support (#1060) 2026-06-29 13:19:49 +01:00
maven-args.test.ts feat: suppress Maven transfer progress via MAVEN_ARGS by default (add show-download-progress input) (#1053) 2026-07-02 17:12:50 -04:00
toolchains.test.ts fix: Maven Toolchains grows unexpectedly (#534) 2026-07-07 00:01:31 -04:00
util.test.ts feat: Add distribution detection support to .sdkmanrc file (#975) 2026-07-07 14:49:12 -04:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00