setup-maven-action icon indicating copy to clipboard operation
setup-maven-action copied to clipboard

`java-version` property of `actions/setup-java` not fully mimicked

Open Stephan202 opened this issue 1 year ago • 0 comments

If one passes multiple Java versions to actions/setup-java's java-version property, then ~/.m2/toolchains.xml is configured to reference all these versions. However, when s4u/setup-maven-action is used, only the Java version listed first is added to the Maven Toolchains configuration.

To observe the issue, consider this change and observe the result of cat ~/.m2/toolchains.xml before and after the change.

Stephan202 avatar Jan 04 '25 15:01 Stephan202