setup-java/__tests__
Nikolas Grottendieck 82fce8d395
fix: Maven Toolchains grows unexpectedly
On self-hosted runners toolchains.xml may survive multiple runs and unexpectedly
grow as a result of the toolchains setup simply appending the JDK definition
even if one with the same `type` and `provides.id` already exists.

Restructuring the parsing step and filtering the potentially existing list of
toolchain definitions prevents this and also fixes toolchain.xml files that
already contain duplicates.

Fixes #530
2023-09-20 00:21:55 +02:00
..
cache Add SBT in cache managers. (#302) 2022-04-20 16:26:27 +02:00
data Add mock data for microsoft-installer 2023-06-08 11:00:37 +02:00
distributors Use archive as fallback only when dealing with major version 2023-07-18 09:28:12 +02:00
auth.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
cache.test.ts Add versions properties to cache (#280) 2023-07-21 13:38:46 +02:00
cleanup-java.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
gpg.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
toolchains.test.ts fix: Maven Toolchains grows unexpectedly 2023-09-20 00:21:55 +02:00
util.test.ts Corretto toolcache folder name fix (#480) 2023-04-10 10:29:19 +02:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00