<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>6</version>
  </parent>  
  <groupId>org.jvnet.hudson</groupId>
  <artifactId>hudson-parent</artifactId>
  <version>1.11</version>
  <packaging>pom</packaging>

  <name>Hudson :: Parent</name>
  <description>Hudson Continuous Integration Server</description>
  <url>http://hudson-ci.org/</url>
  <inceptionYear>2004</inceptionYear>
  
  <issueManagement>
    <system>JIRA</system>
    <url>http://issues.hudson-ci.org/secure/Dashboard.jspa</url>
  </issueManagement>
  
  <ciManagement>
    <system>Hudson</system>
    <url>http://ci.hudson-ci.org/job/hudson_main_trunk</url>
  </ciManagement>
  
  <mailingLists>  
    <mailingList>
      <name>Hudson developer discussion list</name>
      <subscribe>sympa@hudson.java.net?subject=unsubscribe%20dev</subscribe>
      <unsubscribe>sympa@hudson.java.net?subject=unsubscribe%20dev</unsubscribe>
      <post>dev@hudson.java.net</post>
      <archive>http://java.net/projects/hudson/lists/dev/archive</archive>
    </mailingList>      
    <mailingList>
      <name>Hudson user discussion list</name>
      <subscribe>sympa@hudson.java.net?subject=unsubscribe%20users</subscribe>
      <unsubscribe>sympa@hudson.java.net?subject=unsubscribe%20users</unsubscribe>
      <post>users@hudson.java.net</post>
      <archive>http://java.net/projects/hudson/lists/users/archive</archive>
    </mailingList>      
    <mailingList>
      <name>Hudson Japanese user discussion list</name>
      <subscribe>sympa@hudson.java.net?subject=unsubscribe%20ja</subscribe>
      <unsubscribe>sympa@hudson.java.net?subject=unsubscribe%20ja</unsubscribe>
      <post>ja@hudson.java.net</post>
      <archive>http://java.net/projects/hudson/lists/ja/archive</archive>
    </mailingList>      
  </mailingLists>
 
  <scm>
    <connection>scm:git:git://java.net/hudson~git</connection>
    <developerConnection>scm:git:ssh://${jvnet.user}@java.net/hudson~git</developerConnection>
    <tag>hudson</tag>
    <url>http://java.net/projects/hudson/</url>
  </scm>

  <repositories>
    <repository>
      <id>m.g.o-public</id>
      <url>http://maven.glassfish.org/content/groups/public/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>m.g.o-public</id>
      <url>http://maven.glassfish.org/content/groups/public/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <organization>
  	<name>Hudson</name>
  	<url>http://hudson-ci.org/</url>
  </organization>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
	      <version>1.0-beta-1</version>
        <executions>
          <execution>
            <phase>validate</phase>
            <goals>
              <goal>display-info</goal>
            </goals>
          </execution>
        </executions>
      </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.1</version>
        </plugin>
    </plugins>
  </build>

  <profiles>

    <profile>
      <id>always-check-remote-repositories</id>
      <properties>
        <maven.repository.update.freqency>always</maven.repository.update.freqency>
      </properties>
    </profile>
  </profiles>
  <properties>

    <!-- by default only check remote repositories once per week -->
    <maven.repository.update.freqency>interval:10080</maven.repository.update.freqency>

    <!-- the version of Maven that we embed in Hudson -->
    <maven.version>2.0.4</maven.version>
  </properties>
</project>

