-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
It seems that Maven is started with the system's (or tomcat's) Java environment
settings (path, classpath,...).
As there are JDK-installations configured in Hudson I think it would be handy if
you can select one of them to be used by Maven.
- is related to
-
JENKINS-4437 Should be able to select project JDK when only one JDK entered in hudson config
-
- Open
-
Is this the native m2 support, or the free-style project with Maven as the main
build action? What OS is this?
In both cases, Hudson does use the JDK you configured for the project. It sets
PATH to include $JAVA_HOME/bin, as well as JAVA_HOME. So I believe the maven
launcher script is supposed to pick up the right java.
Is your maven script modified?