<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>

  <groupId>com.mattunderscore</groupId>
  <artifactId>ws-utils</artifactId>
  <version>0.2.8</version>
  <packaging>pom</packaging>

  <modules>
    <module>filter-utils</module>
    <module>structured-http-headers</module>
    <module>content-negotiation</module>
  </modules>

  <name>Web Server Utilities</name>
  <description>Web server utilities for Java EE, servlet containers, etc. This currently provides support for HTTP filters, HTTP header parsing and content negotiation. This project servers as the parent to severals modules that provide these features.</description>
  <url>http://www.mattunderscore.com/ws-utils/</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <licenses>
    <license>
      <name>New BSD License</name>
      <url>http://www.opensource.org/licenses/bsd-license.php</url>
    </license>
  </licenses>

  <scm>
    <connection>scm:hg:http://bitbucket.org/mattunderscorechampion/ws-utils</connection>
    <developerConnection>scm:hg:https://bitbucket.org/mattunderscorechampion/ws-utils</developerConnection>
    <url>http://bitbucket.org/mattunderscorechampion/ws-utils</url>
    <tag>ws-utils-0.2.8</tag>
  </scm>

  <distributionManagement>
    <site>
      <id>com.mattunderscore</id>
      <name>Mattunderscore.com</name>
      <url>scp://site@mattunderscore.com/cnsite/</url>
    </site>
  </distributionManagement>

  <developers>
    <developer>
      <name>Matthew Champion</name>
      <url>http://www.mattunderscore.com</url>
      <email>matt_champion1@yahoo.co.uk</email>
      <timezone>+0</timezone>
    </developer>
  </developers>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.4</version>
        <configuration>
          <goals>deploy</goals>
          <autoversionsubmodules>true</autoversionsubmodules>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.6</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.2</version>
      </plugin>
    </plugins>
  </build>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.6</version>
        <inherited>false</inherited>
        <reportSets>
          <reportSet>
            <reports>
              <report>index</report>
              <report>project-team</report>
              <report>license</report>
              <report>scm</report>
              <report>summary</report>
              <report>dependency-convergence</report>
              <report>dependency-info</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9</version>
        <configuration>
          <links>
            <link>http://docs.oracle.com/javase/6/docs/api/</link>
            <link>http://docs.oracle.com/javaee/6/api/</link>
          </links>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>aggregate</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.4</version>
            <executions>
              <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
