Brian Mericle
created JENKINS-14222
Building Maven jobs on slave fails when settings.xml is not in the default location.
Issue Type:
Bug
Affects Versions:
current
Assignee:
Nicolas De Loof
Components:
maven2, slave-prerequisites
Created:
26/Jun/12 9:42 PM
Description:
I need to run a Maven 2 job on a Windows slave, but I need to be able to tell Maven what settings.xml file to use. (In this case it is under a certain user directory) The problem is, the maven core plugin for Jenkins parses the pom.xml to verify it and we are using Nexus as our Maven repository, which the settings are defined in the settings.xml file. Since I can't tell maven core plugin for Jenkins the location of the settings.xml file, it is unable to download the parent pom of the project we are building, so it fails.
The workaround I am using is to create the job using the freestyle template and pass in the settings.xml file location in my maven goal, bypassing the maven core plugin for Jenkins.
Due Date:
31/Aug/12 12:00 AM
Environment:
Host: Linux version 2.6.18-308.4.1.el5 (mockbu...@hs20-bc2-4.build.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52))
Slave: Windows XP
Fix Versions:
current
Project:
Jenkins
Labels:
slave
maven2
core
plugin
Priority:
Major
Reporter:
Brian Mericle
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