Hi,

I'm using Jenkins with the Maven plugin. Jenkins is running in a Tomcat
container.

Tomcat is running using the wwwjenkins user. However the home directory of
this user does not exist. The administrators of the server said me, they set
it to an invalid directory to have an unique directory for each application.
That may makes sense because multiple applications can run in the same user
context.

The problem: Maven tries to create the .m2 directory in the not existing
home directory of the wwwjenkins user. How can I change the path used by
Maven for the .m2 directory? I want to move it to JENKINS_HOME.

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Change-path-of-m2-directory-if-using-maven-plugin-tp4488480p4488480.html
Sent from the Jenkins issues mailing list archive at Nabble.com.

Reply via email to