Re: Change path of .m2 directory if using maven-plugin

2013-01-04 Thread Alec Disharoon
I'm having this issue, too. Since we already set a JENKINS_HOME, shouldn't that be used, instead of whatever user.home is set to? For me, Jenkins is running under Tomcat from Ubuntu's apt repository, so it is running as the tomcat7 user which has a home of /usr/share/tomcat7, which isn't writa

Re: Change path of .m2 directory if using maven-plugin

2012-03-21 Thread Michael Wieland
> > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] *On Behalf Of *Michael Wieland > *Sent:* 20 March 2012 19:27 > *To:* jenkinsci-users@googlegroups.com > *Subject:* Re: Change path of .m2 directory if using maven-plugin > >

RE: Change path of .m2 directory if using maven-plugin

2012-03-21 Thread Nord, James
Subject: Re: Change path of .m2 directory if using maven-plugin Hi, I already tried that using the MAVEN_OPTS configuration field. But Maven still uses the old home directory. On Tuesday, March 20, 2012 7:20:56 PM UTC+1, domi wrote: add "-Duser.home=/oath/toNewDir" to the options

Re: Change path of .m2 directory if using maven-plugin

2012-03-20 Thread Michael Wieland
Hi, I already tried that using the MAVEN_OPTS configuration field. But Maven still uses the old home directory. On Tuesday, March 20, 2012 7:20:56 PM UTC+1, domi wrote: > > add "-Duser.home=/oath/toNewDir" to the options > /Domi > > > On 20.03.2012, at 13:53, Michael Wieland wrote: > > Hi, > >

Re: Change path of .m2 directory if using maven-plugin

2012-03-20 Thread domi
add "-Duser.home=/oath/toNewDir" to the options /Domi On 20.03.2012, at 13:53, Michael Wieland wrote: > Hi, > > thanks for your reply but that didn't solved the problem. :( > > This option only changes the location of the local repository. The path to > the .m2 directory does not change by us

Re: Change path of .m2 directory if using maven-plugin

2012-03-20 Thread Michael Wieland
Hi, thanks for your reply but that didn't solved the problem. :( This option only changes the location of the local repository. The path to the .m2 directory does not change by using this option. A build fails with this error message: ERROR: Failed to create /not/existing/user/dir/.m2 I've loo

Re: Change path of .m2 directory if using maven-plugin

2012-03-20 Thread Richard Mortimer
Hi, You question is best addressed to jenkinsci-users@googlegroups.com. jenkinsci-issues@ is used for automated JIRA messages. That said I've answered your question below etc. and posted to -users for others to comment as appropriate. On 20/03/2012 11:39, Programie wrote: Hi, I'm using Jenk