Maven2 build - not reading settings.xml?

I tried a maven 2 build. A simple build works fine. However, it seems that the config in maven's settings.xml is not read. So any mirrors or repositories specified in the settings.xml are not found. It just looks at maven central repository. Is there a planned fix for this?

Regards,

Arthur.

4 comments
Comment actions Permalink

I'm seeing the same issue. I'm behind a filtering proxy so I'm using MavenProxy to maintain our local repository. My ~/.m2/settings.xml specifies the MavenProxy as mirror of central.

Maven works fine from the command line and in Luntbuild. The TC agent gets stuck on: artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central

I tried leaving the settings.xml path blank, specifying the full path, specifying the directory only - it doesn't seem to make any difference.

0
Comment actions Permalink

Hello,

You should upgrade to TeamCity 1.0 release. There is additional text field
on a build configuration page for Maven where you can specify path to a
settings.xml file.

--
Pavel Sher


"Dimitar Dimitrov" <no_reply@jetbrains.com> wrote in message
news:15500091.1159865480567.JavaMail.itn@is.intellij.net...

I'm seeing the same issue. I'm behind a filtering proxy so I'm using
MavenProxy to maintain our local repository. My ~/.m2/settings.xml
specifies the MavenProxy as mirror of central.

>

Maven works fine from the command line and in Luntbuild. The TC agent gets
stuck on: artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central

>

I tried leaving the settings.xml path blank, specifying the full path,
specifying the directory only - it doesn't seem to make any difference.



0
Comment actions Permalink

I am already running the release version. As mentioned in my last paragraph, I tried specifying the path to settings.xml without success.

0
Comment actions Permalink

Nevermind - turned out to be Java proxy config problem.

0

Please sign in to leave a comment.