Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Maven Settings Resolution on the Server Side

There are global-level and user-level Maven settings stored in separate XML files.

For the global-level settings in the following location:
${env.M2_HOME}/conf/settings.xml (or ${system.maven.home}/conf/settings.xml)

For user-level settings TeamCity searches the following locations (listed in order of priority):

1. ~/.BuildServer/system/pluginData/maven/settings.xml
2. ~/.m2/settings.xml

where ~ denotes the home directory of the user under which the TeamCity server is running and valid for both MS Windows and Unix-based systems.

For understanding the logic of Maven settings see the Maven product documentation.

See also:


Administrator's Guide: Maven2 | Maven Artifact Dependency Trigger | Creating Maven Build Configuration