Maven2
This page contains reference information about the Maven2 Build Runner fields.
Option | Description |
---|---|
Build runner | Select Maven2 from the drop-down list. |
In the Goals field, specify the sequence of space-separated Maven goals that you want TeamCity to execute. Some Maven goals can use version control systems, and, thus, they may become incompatible with some Configuring VCS Settings. If you want TeamCity to execute such goal:
| |
Specify path to the POM file relative to the Build Working Directory. By default, the property contains a | |
Use this optional parameter to specify path to the executable of your custom Maven. | |
Additional Maven command line parameters | Specify the list of command line parameters. |
The path to an alternative user settings file. It is equivalent to Maven command line option -s or --settings. | |
The path to JDK Home is read from the *JAVA_HOME* environment variable or *JDK home* specified on the build agent if you leave this field empty. If these two values are not specified as well, TeamCity uses the JDK home on which the build agent process is started. | |
Specify JVM command line parameters, for example, maximum heap size or parameters enabling remote debugging. These values are passed by the JVM used to run your build. For example: |