TeamCity 7.0 Help

Maven Support

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.

Last modified: 20 April 2023