Skip to content

Commit 36b7a1c

Browse files
Okeanosbrunoborges
authored andcommitted
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
1 parent 347226b commit 36b7a1c

3 files changed

Lines changed: 561 additions & 74 deletions

File tree

0 commit comments

Comments
 (0)