[JIRA] (JENKINS-14222) Building Maven jobs on slave fails when settings.xml is not in the default location.

2012-06-26 Thread brian_meri...@choicehotels.com (JIRA)














































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






[JIRA] (JENKINS-14222) Building Maven jobs on slave fails when settings.xml is not in the default location.

2019-04-24 Thread nicolas.del...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicolas De Loof assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-14222  
 
 
  Building Maven jobs on slave fails when settings.xml is not in the default location.   
 

  
 
 
 
 

 
Change By: 
 Nicolas De Loof  
 
 
Assignee: 
 Nicolas De Loof  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.