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 Sun, 17 Apr 2016 18:53:55 GMT
Hi,

> Please go ahead and test it.
> 
> Jenkins does not use the script as it seems:
> [maven-3.x] $
> /home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51/bin/java
> -Xmx2g -Xms256m -XX:MaxPermSize=512m -cp
> /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5/boot/plexus-classworlds-2.4.jar
> org.jvnet.hudson.maven3.agent.Maven3Main
> /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5
> /home/jenkins/jenkins-slave/slave.jar
> /home/jenkins/jenkins-slave/maven3-interceptor.jar
> /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 36465

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

> [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"

Hope that helps.

Andreas

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


Mime
View raw message