Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 7.x, which is not the most recently released version of TeamCity. Please refer to the listing to choose another version.
Search

Table of Contents

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. <Data Directory>/system/pluginData/maven/settings.xml
2. ~/.m2/settings.xml

where <Data Directory> is TeamCity Data Directory and ~ 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: