Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java-version property of actions/setup-java not fully mimicked #112

Open
Stephan202 opened this issue Jan 4, 2025 · 0 comments
Open

java-version property of actions/setup-java not fully mimicked #112

Stephan202 opened this issue Jan 4, 2025 · 0 comments

Comments

@Stephan202
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant