<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">
  <parent>
    <groupId>org.mortbay.jetty</groupId>
    <artifactId>jetty-parent</artifactId>
    <version>3</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.mortbay.jetty</groupId>
  <artifactId>jetty-contrib-parent</artifactId>
  <version>7.0.0pre3</version>
  <name>Jetty Contrib :: Parent</name>
  <description>Contributed modules.</description>
  <packaging>pom</packaging>
  <properties>
    <jetty.version>7.0.0pre3</jetty.version>
  </properties>
  <scm>
    <connection>scm:svn:https://svn.codehaus.org/jetty-contrib/tags/jetty-contrib-7.0.0opre3</connection>
    <developerConnection>scm:svn:https://svn.codehaus.org/jetty-contrib/tags/jetty-contrib-7.0.0opre3</developerConnection>
    <url>scm:svn:https://svn.codehaus.org/jetty-contrib/tags/jetty-contrib-7.0.0opre3</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
          <verbose>false</verbose>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestEntries>
              <mode>development</mode>
              <url>${pom.url}</url>
              <implementation-version>${pom.version}</implementation-version>
              <package>org.mortbay</package>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-remote-resources-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
            <configuration>
              <resourceBundles>
                <resourceBundle>org.mortbay.jetty:jetty-build-resources:1.0.1</resourceBundle>
              </resourceBundles>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
          <tagBase>https://svn.codehaus.org/jetty-contrib/tags</tagBase>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>all-modules</id>
      <modules>
        <module>jetty-ant</module>
        <module>jetty-grizzly</module>
        <module>jetty-gwt</module>
        <module>jetty-runner</module>
        <module>jetty-spring</module>
        <module>jetty-wadi-session-manager</module>
        <module>jetty-win32-service-java</module>
        <module>jetty-xbean</module>

        <!--
          modules that don't import into reactor cleanly
        -->
        <!--
        <module>jetty-jboss</module> manual releasing for versions
        -->
        <!--
        snapshot dependency that brings in a bad
        repository that can put bogus artifacts into local repository
        <module>jetty-terracotta-sessions</module>
        -->
      </modules>
    </profile>
    <profile>
      <!--
      While the jetty-contrib is kept in lockstep, add modules that
      are to be released at the same time as the jetty-contrib-parent
      here.
      -->
      <id>codehaus-release</id>
      <modules>
        <module>jetty-ant</module>
        <module>jetty-grizzly</module>
        <module>jetty-gwt</module>
        <module>jetty-runner</module>
        <module>jetty-setuid</module>
        <module>jetty-spring</module>
        <module>jetty-wadi-session-manager</module>
        <module>jetty-win32-service-java</module>
        <module>jetty-xbean</module>
      </modules>
    </profile>
  </profiles>
  <distributionManagement>
    <repository>
      <id>codehaus.org</id>
      <name>Jetty Repository</name>
      <url>dav:https://dav.codehaus.org/repository/jetty-contrib/</url>
    </repository>
    <snapshotRepository>
      <id>codehaus.org</id>
      <name>Jetty Snapshot Repository</name>
      <url>dav:https://dav.codehaus.org/snapshots.repository/jetty-contrib/</url>
    </snapshotRepository>
    <site>
      <id>codehaus.org</id>
      <url>dav:https://dav.codehaus.org/jetty-contrib/</url>
    </site>
  </distributionManagement>
</project>
