println it

Software blog about tools, builds and making it all work

Hudson and Artifactory Maven repository

For a long time I was sure there’s no Hudson Maven repository.

I was wrong:

<dependency>
    <groupid>org.jvnet.hudson.main</groupid>
    <artifactid>hudson-war</artifactid>
    <version>1.373</version>
    <type>war</type>
</dependency>
<dependency>
    <groupid>org.jvnet.hudson.plugins</groupid>
    <artifactid>greenballs</artifactid>
    <version>1.6</version>
    <type>hpi</type>
</dependency>
<dependency>
    <groupid>org.jvnet.hudson.plugins</groupid>
    <artifactid>artifactory</artifactid>
    <version>1.2.0</version>
    <type>hpi</type>
</dependency>

Similarly, Artifactory:

<dependency>
    <groupid>org.artifactory</groupid>
    <artifactid>artifactory-web-war</artifactid>
    <version>2.2.5</version>
    <type>war</type>
</dependency>

And Maven itself:

<dependency>
    <groupId>org.apache.maven</groupId>
    <artifactId>apache-maven</artifactId>
    <version>2.2.1</version>
    <classifier>bin</classifier>
    <type>zip</type>
</dependency>

Why would one want to get Hudson, Artifactory and Maven distribution through Maven?
In our case, we create a Tomcat setup with Hudson, Artifactory and Maven already installed and configured, I’ll write about this project later.

, , ,

2 Responses to “Hudson and Artifactory Maven repository”

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>