Maven2 build configuration problem

I'm having a problem with a Maven2 build configuration. When I run "mvn" on the command-line in TeamCity work directory, everything builds fine. But the equivalent TeamCity build fails because it gets a wrong value for a Maven configuration property: settings.localRepository.

Does TeamCity somehow overrides system-wide configuration for Maven2?

1 comment
Comment actions Permalink

TeamCity provides own bundled maven with own configuration (which can be overridden, though).
You can pass value of settings.localRepository using system property on build agent.


Please sign in to leave a comment.