Skip to content

Commit

Permalink
fix: Maven Toolchains grows unexpectedly
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Okeanos committed Sep 19, 2023
1 parent 4075bfc commit 82fce8d
Show file tree
Hide file tree
Showing 3 changed files with 561 additions and 74 deletions.
Loading

0 comments on commit 82fce8d

Please sign in to comment.