Hello guys,

i'm trying to change the default maven repository location but without 
success:

I try add in Global MAVEN_OPTS the command:

-Dmaven.repo.local=/var/www/www-users/impa/ddsimpa/public_java/repo/.jenkins/.m2

I try set the "Default Settings Provider" to my custom settings.xml with 
the content:

<settings>

 
<localRepository>/var/www/www-users/impa/ddsimpa/public_java/repo/.jenkins/.m2</localRepository>

</settings>

but without success too.

When i build my project the maven show the error bellow:

ERROR: Failed to create /home/ddsimpa/.m2 <-- I dont want this repository. 
I want /var/www/www-users/impa/ddsimpa/public_java/repo/.jenkins/.m2

Anyone could help me?

TY so much.

Gabriel

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to