-
Notifications
You must be signed in to change notification settings - Fork 61
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
Respect JAVA_HOME environment variable #69
Conversation
Closes scalatest#26
@katrinsharp This PR does an additional explicit lookup for the @andreoss To my knowledge, looking at the Maven launcher scripts handle |
As it was mentioned in another PR, we should be using ToolchainManager lookups to find the JVM: #43 (comment) More info on Maven Toolchains. The main benefit:
This might help when doing JDK upgrades of projects that use scalatest-maven-plugin. |
You might be right. But surefire seems to query for Also there could be cases when using that the same JVM which was used for maven is not always desirable. The standard |
@andreoss Yep, it doesn't hurt to use |
LGTM |
Hello, there seems to be some confusion
This is an integration test code, not code used by surefire itself. In fact surefire uses
But that is not what is done in the PR. Please take a look at #80 where I described why it seems to me the default should be |
Closes #26, also related to #6