<project xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd' xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
  <modelVersion>4.0.0</modelVersion>
  
  <groupId>no.twingine.hudson</groupId>
  <artifactId>greenballs</artifactId>
  <packaging>hpi</packaging>
  <version>1.2</version>
  <name>Green Balls</name>
  <description>Because green balls are better than blue</description>
  <url>http://wiki.hudson-ci.org/display/HUDSON/Green+Balls</url>
  
  <properties>
    <!-- which version of Hudson is this plugin built against? -->
    <hudson.version>1.287</hudson.version>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.jvnet.hudson.main</groupId>
      <artifactId>hudson-core</artifactId>
      <version>${hudson.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.jvnet.hudson.main</groupId>
      <artifactId>hudson-war</artifactId>
      <type>war</type>
      <version>${hudson.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.5</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  
  <build>
    <!--
      Since new versions need to overwrite old versions, it's better
      not to have version number in the .hpi file name.
    -->
    <finalName>${project.artifactId}</finalName>
    <defaultGoal>package</defaultGoal>
    <extensions>
      <extension>
        <groupId>org.jvnet.wagon-svn</groupId>
        <artifactId>wagon-svn</artifactId>
        <version>RELEASE</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <groupId>org.jvnet.hudson.tools</groupId>
        <artifactId>maven-hpi-plugin</artifactId>
        <version>1.30</version>
        <extensions>true</extensions>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-8</version>
      </plugin>
    </plugins>
  </build>

  <scm>
    <connection>scm:svn:https://svn.dev.java.net/svn/hudson/tags/greenballs-1.2</connection>
  </scm>

  <repositories>
    <!-- We put the central repository first, as most artifacts will be
         found there
    -->
    

    <!-- We put the java.net2 repository second, as it's a Maven2 format
         and therefore _should_ be faster for Maven2. Hopefully, people
         will stop pushing their artifacts to java.net and push to java.net2
         or somebody will put a synchronizer in place to require
         only the java.net2 repository.
    -->
    

    <!-- Now for the java.net repository (legacy layout) -->
    

    <!-- Finally, the slowest repository of them all -->
    
  </repositories>

  <pluginRepositories>
    <!-- We put the central repository first, as most artifacts will be
         found there
    -->
    

    
  </pluginRepositories>

  <distributionManagement>
    <repository>
      <id>java.net-m2-repository</id>
      <url>java-net:/maven2-repository/trunk/www/repository/</url>
    </repository>
  </distributionManagement>

</project>
