Maven Version
Types
Maven version specified by the M2_HOME environment variable. If the environment variable is empty, then the default Maven version provided by the TeamCity server will be used.
Maven 2 is no longer supported in TeamCity as of 2025.11, some features might not work
Use maven 3.0.5 bundled with TeamCity
Use maven 3.1.1 bundled with TeamCity
Use maven 3.2.5 bundled with TeamCity
Use maven 3.3.9 bundled with TeamCity
Use maven 3.5.4 bundled with TeamCity
Use maven 3.6.3 bundled with TeamCity
Use maven 3.8.6 bundled with TeamCity
Use maven 3.9.11 bundled with TeamCity
The custom Maven version found at the specified path
In TeamCity 10.0 the meaning of this option was: Maven version specified in M2_HOME environment variable, if the environment variable is empty, then the Maven version 3.0.5. In TeamCity 2017.1 this option is renamed to auto(), please use it instead. If you want to always use the default Maven version provided by TeamCity server, switch to defaultProvidedVersion().
The default Maven version provided by TeamCity server
Properties
Functions
Copies parameters of this object to the specified target
A list of records, each field of an item stored as a parameter of its own: parameter f of the n-th item, counting from 1, is stored as name.n.f. A script fills the list in the block of the parameter, see RecordList.
A record, each field stored as a parameter of its own: parameter f of the record is stored as name.f. A script fills the record in the block of the parameter; a record without parameters stores nothing.