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

Add toolchain java path to environment variables in ExecMojo #455

Conversation

michalm2000
Copy link
Contributor

While using goal "exec" there is no way to access java executable provided by toolchain. Code in this PR adds the path pointing to java executable provided by toolchain to environment variables.

Copy link
Member

@slawekjaranowski slawekjaranowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a test will be appreciated

src/main/java/org/codehaus/mojo/exec/ExecMojo.java Outdated Show resolved Hide resolved
src/main/java/org/codehaus/mojo/exec/ExecMojo.java Outdated Show resolved Hide resolved
@slawekjaranowski slawekjaranowski added this to the next-release milestone Oct 21, 2024
@slawekjaranowski slawekjaranowski merged commit 8e7fa52 into mojohaus:master Oct 21, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants