...
For user-level settings TeamCity searches the following locations (listed in order of priority):
1. ~/.BuildServer/\<TEAMCITY_DATA_PATH>/system/pluginData/maven/settings.xml
2. ~/.m2/settings.xml
...
...
For user-level settings TeamCity searches the following locations (listed in order of priority):
1. ~/.BuildServer/\<TEAMCITY_DATA_PATH>/system/pluginData/maven/settings.xml
2. ~/.m2/settings.xml
...