When reading POM data and and resolving artifact in an artifact trigger, TeamCity uses both global and user-level Maven settings.
Which Maven settings is used by TeamCity when reading POM data and resolving artifacts in artifact trigger.
There are global and user-level Maven settings. When reading POM TeamCity tries to use both of them.
TeamCity looks for the global settings in the following locations (listed in order of priority)location:
For user-level settings TeamCity searches the following locations (listed in order of priority):
where ~ denotes the user home directory.
To resolve artifacts, Maven artifact trigger should know repositories to look at.
If Maven artifact trigger is configured for a non-Maven build configuration, then it reads repository from locally stored settings obtained the way described earlier for POM reading.
Otherwise, the trigger takes repository list from the corresponding POM.