public maven repository for plugin development

Hello everybody,

Is there a public maven repository that contains artifacts necessary for building plugins for teamcity?

Vojta

4 comments
Comment actions Permalink

In absence of locating an online maven repository, what are the dependencies that we should use?  I had to guess at the following for 6.5.1:

<dependency>

  <groupId>com.jetbrains.teamcity</groupId>

  <artifactId>server-api</artifactId>

  <version>6.5.1</version>

</dependency>

 

<dependency>

  <groupId>com.jetbrains.teamcity</groupId>

  <artifactId>runtime-util</artifactId>

  <version>6.5.1</version>

</dependency>

 

<dependency>

  <groupId>com.jetbrains.teamcity</groupId>

  <artifactId>common-api</artifactId>

  <version>6.5.1</version>

</dependency>

 

<dependency>

  <groupId>com.jetbrains.teamcity</groupId>

  <artifactId>annotations</artifactId>

  <version>6.5.1</version>

</dependency>

 

<dependency>

  <groupId>com.jetbrains.teamcity</groupId>

  <artifactId>agent-api</artifactId>

  <version>6.5.1</version>

</dependency>

 

<dependency>

  <groupId>com.jetbrains.teamcity</groupId>

  <artifactId>util</artifactId>

  <version>6.5.1</version>

</dependency>

I copied these files from my installation directory at /usr/local/teamcity:

/usr/local/teamcity/devPackage/agent-api.jar
/usr/local/teamcity/devPackage/common-api.jar
/usr/local/teamcity/devPackage/server-api.jar
/usr/local/teamcity/devPackage/runtime/runtime-util.jar
/usr/local/teamcity/webapps/ROOT/WEB-INF/lib/annotations.jar
/usr/local/teamcity/webapps/ROOT/WEB-INF/lib/util.jar

0
Comment actions Permalink

I took inspiration in:

   http://vcsupdate.googlecode.com/svn/trunk/pom.xml

Hence using:

    <dependency>
      <groupId>net.jetbrains.teamcity.openapi</groupId>
      <artifactId>server-api</artifactId>
    </dependency>

    <dependency>
      <groupId>net.jetbrains.teamcity.openapi</groupId>
      <artifactId>common-api</artifactId>
    </dependency>


and the jars from the devPackage directory. I believe that providing proper maven dependencies/repository would remove unnecessary obstacle for developers who want to develop/experiment with teamcity plugin development and are used to maven...

0
Comment actions Permalink

Guys,

Thank you for your effort devising a pom for the TeamCity libraries.
Totrally agree: we should publish the libraries ourselves into a public Maven repo.
BTW, here is an issue to vote for / watch: TW-10625.

0
Comment actions Permalink

Hi, here's a Gradle example:

provided 'jetbrains:teamcity-openapi:6.5.1',          'jetbrains:teamcity-openapi.util:6.5.1',          'org.springframework:spring-webmvc:2.5.6',          'javax.servlet:servlet-api:2.5'

I repacked all jars into two jars mentioned above, they are available in http://evgeny-goldin.org/artifactory/repo/


0

Please sign in to leave a comment.