You can tell Maven to use an alternate repository by creating a custom settings file. Refer to http://maven.apache.org/settings.html and use User Settings Path in the runner configuration.
Hi...
How do I set the Maven2 repository location in TeamCity? (v3.1.1)
It only seems to try the standard remote repository, and not the locally populated one.
Hello Dean,
You can tell Maven to use an alternate repository by creating a custom settings
file.
Refer to http://maven.apache.org/settings.html and use User Settings Path
in the runner configuration.
--
Sergey Anchipolevsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Refer to my post in http://intellij.net/forums/thread.jspa?messageID=5219884&
Hopefully that will resolve the issue that you are facing.
Rakesh Nagar