Nir Koren
Nir Koren

Reputation: 261

TeamCity and Maven support

I noticed that TeamCity is not supporting Maven 3.3.x as a bundled plugin. So I placed Maven version (latest) under TeamCity master (TC/plugins/.tools) and it deployed the Maven to all build agents.

The problem is that there are missing functionality like missing maven-build-info.xml. that is generated during the build and create the "Maven build info" tab.

Is it a known issue? Is there any workaround?

Thanks, Nir

Upvotes: 3

Views: 1894

Answers (1)

heenenee
heenenee

Reputation: 20125

Support for Maven 3.3.1 was introduced in TeamCity 9.0.4, so make sure you are running that version or above. Once you've done that, download and unzip Maven 3.3.X to a directory of your choosing. Then in TeamCity, do the following:

  1. Navigate to Administration > Your Project > Your Build Configuration > Build Step: Maven > Edit.
  2. click Show advanced options.
  3. Under Maven selection:, choose <Custom>.
  4. Under Custom path: specify the path to where you unzipped Maven.
  5. Click Save.

You should then be able to see the Maven Build Info tab when you next run your build for that project.

Upvotes: 4

Related Questions