Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 28/Sep/14 6:46 PM
Description:

When installing maven with the automatic tool install option (as well as having the actual JDK installed automatically) there is no way to point to a common settings.xml, either through MAVEN_OPTS or through the "Maven Configuration" section in the main setup.

It will create a commandline like:
/var/jenkins_home/tools/hudson.model.JDK/jdk8oracle/bin/java -s /var/jenkins_home/settings.xml -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.5.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven/boot/plexus-classworlds-2.5.1.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven/conf/logging jenkins.maven3.agent.Maven31Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven /var/jenkins_home/war/WEB-INF/lib/remoting-2.43.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.5.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 48582
Unrecognized option: -s

Project: Jenkins
Priority: Minor Minor
Reporter: David Karlsen
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to