This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
3 Replies Last post: Feb 10, 2010 3:06 PM by Sergey Anchipolevsky  
Karanam Subbarao Newbie 7 posts since
Feb 8, 2010
Currently Being Moderated

Feb 9, 2010 5:37 PM

Building Team City Plugin with Maven

Hello,

  Did any body build the team city plugin with Maven. Any Examples/pointers on a how pom.xml will look like  will be really helpful..

Sergey Anchipolevsky JetBrains 259 posts since
Jan 22, 2008
Currently Being Moderated
Feb 10, 2010 11:04 AM in response to: Karanam Subbarao
Re: Building Team City Plugin with Maven

Hello Karanam,

 

We have a Maven build configuration for one of our TeamCity plugins, however it's kind of experimental, since TeamCity API the plugin depends on isn't automatically published as Maven artifacts, since it isn't built with Maven. When the Maven build configuration was being created I manually deployed all the dependency jars into our local repository, and have never updated since then. Hopefully the plugin sources are still compiling well, but we use another configuration (IPR) for producing jars for plugin installation packaging.

 

If you want to build your plugin with maven, you will have to manually install TeamCity API jars as maven artifacts, manually update them and manually manage their transitive dependencies.

 

We're planning to implement an ability to deploy any non-maven-built jar/file as a maven artifact with transitive dependencies. With this building a plugin for TeamCity with Maven will be much easier.

Sergey Anchipolevsky JetBrains 259 posts since
Jan 22, 2008
Currently Being Moderated
Feb 10, 2010 3:33 PM in response to: Karanam Subbarao
Re: Building Team City Plugin with Maven

This is XML Report plugin.

 

Message was edited by: Yegor Yarko

More Like This

  • Retrieving data ...