maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Sewe <s...@st.informatik.tu-darmstadt.de>
Subject Re: RFC on MNG-6003: Drastically reduce JAVA_HOME discovery code
Date Mon, 18 Apr 2016 09:49:43 GMT
Hi,

>> FYI, Hudson 3.2.2 (in use for most builds at the Eclipse Foundation)
>> does use the mvn script:

BTW, this is the same with the latest Hudson (version 3.3.3) as well, so
this seems to be a place where it diverged from Jenkins.

>>> [INFO] Using Maven 3 installation: apache-maven-latest
>>> [INFO] Checking Maven 3 installation environment
>>> [JavaSE-1.8] $ /shared/common/apache-maven-latest/bin/mvn --help
>>> [INFO] Checking Maven 3 installation version
>>> [INFO] Detected Maven 3 installation version: 3.3.9
>>> [JavaSE-1.8] $ /shared/common/apache-maven-latest/bin/mvn ...
>>> [DEBUG] Waiting for connection on port: 52641
>>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>>> 2015-11-10T11:41:47-05:00)
>>> Maven home: /shared/common/apache-maven-latest
>>> Java version: 1.8.0_51, vendor: Oracle Corporation
>>> Java home: /opt/public/common/jdk1.8.0_51.x64/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "3.0.101-0.47.71-default", arch: "amd64",
>>> family: "unix"
> 
> Ah ok, what about JAVA_HOME? Set or from PATH?

I am not the admin of our Hudson instance (it's managed by the Eclipse
Foundation), but I think JAVA_HOME is set. See [1] for the intricacies
of our project's particular setup.

That being said, we specifically requested a change to the setup; I
don't know what Hudson instances at Eclipse do by *default*; AFAIK, they
just use the Java install Hudson runs on, but if Hudson itself requires
JAVA_HOME to be set or if it also allows for Java to be autodiscovered I
don't know.

Hope this helps.

Andreas

[1] <https://bugs.eclipse.org/bugs/show_bug.cgi?id=490293#c9>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message