d4334c
d4334c
d4334c
d4334c
    Copyright (c) 2008-2012 Sonatype, Inc. All rights reserved.
d4334c
d4334c
    This program is licensed to you under the Apache License Version 2.0,
d4334c
    and you may not use this file except in compliance with the Apache License Version 2.0.
d4334c
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
d4334c
d4334c
    Unless required by applicable law or agreed to in writing,
d4334c
    software distributed under the Apache License Version 2.0 is distributed on an
d4334c
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d4334c
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
d4334c
d4334c
-->
d4334c
<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">
d4334c
  <modelVersion>4.0.0</modelVersion>
d4334c
d4334c
  <groupId>org.sonatype.forge</groupId>
d4334c
  <artifactId>forge-parent</artifactId>
d4334c
  <packaging>pom</packaging>
d4334c
  <version>31</version>
d4334c
d4334c
  <name>${project.artifactId}</name>
d4334c
  <description>${project.name}</description>
d4334c
  <inceptionYear>2008</inceptionYear>
d4334c
  <url>http://forge.sonatype.com/</url>
d4334c
d4334c
  <organization>
d4334c
    <name>Sonatype, Inc.</name>
d4334c
    <url>http://www.sonatype.com/</url>
d4334c
  </organization>
d4334c
d4334c
  <licenses>
d4334c
    <license>
d4334c
      <name>ASLv2</name>
d4334c
      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
d4334c
      <distribution>repo</distribution>
d4334c
    </license>
d4334c
  </licenses>
d4334c
d4334c
  <developers>
d4334c
    <developer>
d4334c
      <name>Sonatype, Inc.</name>
d4334c
      <organization>Sonatype, Inc.</organization>
d4334c
    </developer>
d4334c
  </developers>
d4334c
d4334c
  <scm>
d4334c
    <connection>scm:git:git://github.com/sonatype/oss-parents.git</connection>
d4334c
    <url>https://github.com/sonatype/oss-parents</url>
d4334c
    <developerConnection>scm:git:git@github.com:sonatype/oss-parents.git</developerConnection>
d4334c
  </scm>
d4334c
d4334c
  <ciManagement>
d4334c
    <system>Hudson</system>
d4334c
    <url>https://builds.sonatype.org/</url>
d4334c
  </ciManagement>
d4334c
d4334c
  <issueManagement>
d4334c
    <system>Jira</system>
d4334c
    <url>https://issues.sonatype.org</url>
d4334c
  </issueManagement>
d4334c
d4334c
  <prerequisites>
d4334c
    <maven>3.0</maven>
d4334c
  </prerequisites>
d4334c
d4334c
  <properties>
d4334c
    <nexusUrl>https://repository.sonatype.org/</nexusUrl>
d4334c
    <forgeReleaseId>forge-releases</forgeReleaseId>
d4334c
    <forgeReleaseUrl>https://repository.sonatype.org/service/local/staging/deploy/maven2</forgeReleaseUrl>
d4334c
    <forgeSnapshotId>forge-snapshots</forgeSnapshotId>
d4334c
    <forgeSnapshotUrl>https://repository.sonatype.org/content/repositories/snapshots</forgeSnapshotUrl>
d4334c
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
d4334c
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
d4334c
    <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
d4334c
    <surefire.failIfNoSpecifiedTests>false</surefire.failIfNoSpecifiedTests>
d4334c
    <localCheckout>true</localCheckout>
d4334c
    <pushChanges>false</pushChanges>
d4334c
    <failsafe.timeout>600</failsafe.timeout>
d4334c
  </properties>
d4334c
d4334c
  <distributionManagement>
d4334c
    <repository>
d4334c
      <id>${forgeReleaseId}</id>
d4334c
      <url>${forgeReleaseUrl}</url>
d4334c
    </repository>
d4334c
    <snapshotRepository>
d4334c
      <id>${forgeSnapshotId}</id>
d4334c
      <url>${forgeSnapshotUrl}</url>
d4334c
    </snapshotRepository>
d4334c
  </distributionManagement>
d4334c
d4334c
  <build>
d4334c
d4334c
    <defaultGoal>install</defaultGoal>
d4334c
d4334c
    <resources>
d4334c
      <resource>
d4334c
        <directory>${project.basedir}/src/main/resources</directory>
d4334c
        <filtering>false</filtering>
d4334c
        <includes>
d4334c
          <include>**/*</include>
d4334c
        </includes>
d4334c
      </resource>
d4334c
d4334c
      <resource>
d4334c
        <directory>${project.basedir}/src/main/filtered-resources</directory>
d4334c
        <filtering>true</filtering>
d4334c
        <includes>
d4334c
          <include>**/*</include>
d4334c
        </includes>
d4334c
      </resource>
d4334c
    </resources>
d4334c
d4334c
    <testResources>
d4334c
      <testResource>
d4334c
        <directory>${project.basedir}/src/test/resources</directory>
d4334c
        <filtering>false</filtering>
d4334c
        <includes>
d4334c
          <include>**/*</include>
d4334c
        </includes>
d4334c
      </testResource>
d4334c
d4334c
      <testResource>
d4334c
        <directory>${project.basedir}/src/test/filtered-resources</directory>
d4334c
        <filtering>true</filtering>
d4334c
        <includes>
d4334c
          <include>**/*</include>
d4334c
        </includes>
d4334c
      </testResource>
d4334c
    </testResources>
d4334c
d4334c
    <pluginManagement>
d4334c
      <plugins>
d4334c
        <plugin>
d4334c
          <groupId>org.codehaus.mojo</groupId>
d4334c
          <artifactId>animal-sniffer-maven-plugin</artifactId>
d4334c
          <version>1.9</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.codehaus.mojo</groupId>
d4334c
          <artifactId>build-helper-maven-plugin</artifactId>
d4334c
          <version>1.7</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-antrun-plugin</artifactId>
d4334c
          <version>1.7</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-assembly-plugin</artifactId>
d4334c
          <version>2.2.1</version>
d4334c
          <configuration>
d4334c
            <tarLongFileMode>gnu</tarLongFileMode>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.felix</groupId>
d4334c
          <artifactId>maven-bundle-plugin</artifactId>
d4334c
          <version>2.3.7</version>
d4334c
          <configuration>
d4334c
            <instructions>
d4334c
              
d4334c
              <Bundle-Description>${project.description}</Bundle-Description>
d4334c
            </instructions>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-clean-plugin</artifactId>
d4334c
          <version>2.5</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-compiler-plugin</artifactId>
d4334c
          <version>3.0</version>
d4334c
          <configuration>
d4334c
            <source>1.5</source>
d4334c
            <target>1.5</target>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-dependency-plugin</artifactId>
d4334c
          <version>2.5.1</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-deploy-plugin</artifactId>
d4334c
          <version>2.7</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-enforcer-plugin</artifactId>
d4334c
          <version>1.2</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.codehaus.mojo</groupId>
d4334c
          <artifactId>exec-maven-plugin</artifactId>
d4334c
          <version>1.2.1</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-failsafe-plugin</artifactId>
d4334c
          <version>2.12.4</version>
d4334c
          <configuration>
d4334c
            <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
d4334c
            <forkMode>always</forkMode>
d4334c
            <forkedProcessTimeoutInSeconds>${failsafe.timeout}</forkedProcessTimeoutInSeconds>
d4334c
            <systemPropertyVariables>
d4334c
              <java.awt.headless>true</java.awt.headless>
d4334c
            </systemPropertyVariables>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-gpg-plugin</artifactId>
d4334c
          <version>1.4</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-install-plugin</artifactId>
d4334c
          <version>2.4</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-invoker-plugin</artifactId>
d4334c
          <version>1.7</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-jar-plugin</artifactId>
d4334c
          <version>2.4</version>
d4334c
          <configuration>
d4334c
            <archive>
d4334c
              <manifest>
d4334c
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
d4334c
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
d4334c
              </manifest>
d4334c
            </archive>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-javadoc-plugin</artifactId>
d4334c
          <version>2.9</version>
d4334c
        </plugin>
d4334c
        
d4334c
        <plugin>
d4334c
          <groupId>com.mycila.maven-license-plugin</groupId>
d4334c
          <artifactId>maven-license-plugin</artifactId>
d4334c
          <version>1.9.0</version>
d4334c
          <configuration>
d4334c
            <encoding>UTF-8</encoding>
d4334c
            <strictCheck>true</strictCheck>
d4334c
            <useDefaultExcludes>false</useDefaultExcludes>
d4334c
            <header>${project.basedir}/header.txt</header>
d4334c
            <includes>
d4334c
              <include>**/pom.xml</include>
d4334c
              <include>**/*.xml</include>
d4334c
              <include>**/*.xsd</include>
d4334c
              <include>**/*.xjb</include>
d4334c
              <include>**/*.properties</include>
d4334c
              <include>**/*.ini</include>
d4334c
              <include>**/*.java</include>
d4334c
              <include>**/*.groovy</include>
d4334c
              <include>**/*.scala</include>
d4334c
              <include>**/*.aj</include>
d4334c
              <include>**/*.js</include>
d4334c
              <include>**/*.css</include>
d4334c
              <include>**/*.help</include>
d4334c
              <include>**/*.proto</include>
d4334c
              <include>**/*.sm</include>
d4334c
              <include>**/*.bat</include>
d4334c
              <include>**/*.xsl</include>
d4334c
              <include>**/*.html</include>
d4334c
              <include>**/*.vm</include>
d4334c
              <include>**/*.md</include>
d4334c
            </includes>
d4334c
            <excludes>
d4334c
              <exclude>**/target/**</exclude>
d4334c
              <exclude>**/.*/**</exclude>
d4334c
              <exclude>**/dependency-reduced-pom.xml</exclude>
d4334c
              <exclude>**/nbactions*.xml</exclude>
d4334c
              <exclude>**/nb-configuration.xml</exclude>
d4334c
              <exclude>**/atlassian-ide-plugin.xml</exclude>
d4334c
              <exclude>**/release.properties</exclude>
d4334c
              <exclude>**/META-INF/services/**</exclude>
d4334c
            </excludes>
d4334c
            <mapping>
d4334c
              <aj>JAVADOC_STYLE</aj>
d4334c
              <groovy>JAVADOC_STYLE</groovy>
d4334c
              <help>SCRIPT_STYLE</help>
d4334c
              <ini>SCRIPT_STYLE</ini>
d4334c
              <java>SLASHSTAR_STYLE</java>
d4334c
              <md>XML_STYLE</md>
d4334c
              <proto>DOUBLESLASH_STYLE</proto>
d4334c
              <scala>SLASHSTAR_STYLE</scala>
d4334c
              <sm>DOUBLESLASH_STYLE</sm>
d4334c
              <vm>SHARPSTAR_STYLE</vm>
d4334c
              <xjb>XML_STYLE</xjb>
d4334c
            </mapping>
d4334c
            <aggregate>true</aggregate>
d4334c
            <goals>
d4334c
              <goal>check</goal>
d4334c
            </goals>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-plugin-plugin</artifactId>
d4334c
          <version>3.2</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-release-plugin</artifactId>
d4334c
          <version>2.2.1</version>
d4334c
          <configuration>
d4334c
            <autoVersionSubmodules>true</autoVersionSubmodules>
d4334c
            <goals>deploy</goals>
d4334c
            
d4334c
            <localCheckout>${localCheckout}</localCheckout>
d4334c
            <pushChanges>${pushChanges}</pushChanges>
d4334c
            
d4334c
            <mavenExecutorId>forked-path</mavenExecutorId>
d4334c
            <releaseProfiles>release</releaseProfiles>
d4334c
            <useReleaseProfile>false</useReleaseProfile>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-remote-resources-plugin</artifactId>
d4334c
          <version>1.4</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-repository-plugin</artifactId>
d4334c
          <version>2.3.1</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-resources-plugin</artifactId>
d4334c
          <version>2.6</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-scm-plugin</artifactId>
d4334c
          <version>1.8.1</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-shade-plugin</artifactId>
d4334c
          <version>2.0</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-site-plugin</artifactId>
d4334c
          <version>3.2</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-source-plugin</artifactId>
d4334c
          <version>2.2.1</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.sonatype.plugins</groupId>
d4334c
          <artifactId>nexus-staging-maven-plugin</artifactId>
d4334c
          <version>1.2</version>
d4334c
          <extensions>true</extensions>
d4334c
          <configuration>
d4334c
            
d4334c
            <nexusUrl>${nexusUrl}</nexusUrl>
d4334c
            <tags>
d4334c
              <localUsername>${env.USER}</localUsername>
d4334c
              <javaVersion>${java.version}</javaVersion>
d4334c
            </tags>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-surefire-plugin</artifactId>
d4334c
          <version>2.12.4</version>
d4334c
          <configuration>
d4334c
            <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
d4334c
            
d4334c
            <failIfNoSpecifiedTests>${surefire.failIfNoSpecifiedTests}</failIfNoSpecifiedTests>
d4334c
            <systemPropertyVariables>
d4334c
              <java.awt.headless>true</java.awt.headless>
d4334c
            </systemPropertyVariables>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.apache.maven.plugins</groupId>
d4334c
          <artifactId>maven-war-plugin</artifactId>
d4334c
          <version>2.3</version>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.codehaus.modello</groupId>
d4334c
          <artifactId>modello-maven-plugin</artifactId>
d4334c
          <version>1.6</version>
d4334c
          <configuration>
d4334c
            <useJava5>true</useJava5>
d4334c
          </configuration>
d4334c
        </plugin>
d4334c
        <plugin>
d4334c
          <groupId>org.sonatype.plugins</groupId>
d4334c
          <artifactId>sisu-maven-plugin</artifactId>
d4334c
          <version>1.1</version>
d4334c
        </plugin>
d4334c
      </plugins>
d4334c
    </pluginManagement>
d4334c
    <plugins>
d4334c
      <plugin>
d4334c
        <groupId>org.sonatype.plugins</groupId>
d4334c
        <artifactId>nexus-staging-maven-plugin</artifactId>
d4334c
        <configuration>
d4334c
          <serverId>${forgeSnapshotId}</serverId>
d4334c
        </configuration>
d4334c
      </plugin>
d4334c
      <plugin>
d4334c
        <groupId>org.apache.maven.plugins</groupId>
d4334c
        <artifactId>maven-source-plugin</artifactId>
d4334c
        <executions>
d4334c
          <execution>
d4334c
            <goals>
d4334c
              <goal>jar-no-fork</goal>
d4334c
            </goals>
d4334c
            <configuration>
d4334c
              <includePom>true</includePom>
d4334c
            </configuration>
d4334c
          </execution>
d4334c
        </executions>
d4334c
      </plugin>
d4334c
    </plugins>
d4334c
  </build>
d4334c
d4334c
  <reporting>
d4334c
    <plugins>
d4334c
      <plugin>
d4334c
        <groupId>org.codehaus.mojo</groupId>
d4334c
        <artifactId>cobertura-maven-plugin</artifactId>
d4334c
        <version>2.4</version>
d4334c
      </plugin>
d4334c
      <plugin>
d4334c
        <groupId>org.codehaus.mojo</groupId>
d4334c
        <artifactId>findbugs-maven-plugin</artifactId>
d4334c
        <version>2.3.1</version>
d4334c
        <configuration>
d4334c
          <omitVisitors>UnreadFields</omitVisitors>
d4334c
        </configuration>
d4334c
      </plugin>
d4334c
      <plugin>
d4334c
        <groupId>org.apache.maven.plugins</groupId>
d4334c
        <artifactId>maven-jxr-plugin</artifactId>
d4334c
        <version>2.2</version>
d4334c
      </plugin>
d4334c
      <plugin>
d4334c
        <groupId>org.apache.maven.plugins</groupId>
d4334c
        <artifactId>maven-project-info-reports-plugin</artifactId>
d4334c
        <version>2.3.1</version>
d4334c
      </plugin>
d4334c
      <plugin>
d4334c
        <groupId>org.apache.maven.plugins</groupId>
d4334c
        <artifactId>maven-pmd-plugin</artifactId>
d4334c
        <version>2.5</version>
d4334c
        <configuration>
d4334c
          <targetJdk>1.5</targetJdk>
d4334c
        </configuration>
d4334c
      </plugin>
d4334c
    </plugins>
d4334c
  </reporting>
d4334c
d4334c
  <profiles>
d4334c
    <profile>
d4334c
      <id>release</id>
d4334c
      <build>
d4334c
        <plugins>
d4334c
          
d4334c
          <plugin>
d4334c
            <groupId>org.apache.maven.plugins</groupId>
d4334c
            <artifactId>maven-deploy-plugin</artifactId>
d4334c
            <configuration>
d4334c
              <updateReleaseInfo>true</updateReleaseInfo>
d4334c
            </configuration>
d4334c
          </plugin>
d4334c
          
d4334c
          <plugin>
d4334c
            <groupId>org.apache.maven.plugins</groupId>
d4334c
            <artifactId>maven-gpg-plugin</artifactId>
d4334c
            <configuration>
d4334c
              
d4334c
              <passphrase>${gpg.passphrase}</passphrase>
d4334c
              
d4334c
              <useAgent>true</useAgent>
d4334c
            </configuration>
d4334c
            <executions>
d4334c
              <execution>
d4334c
                <goals>
d4334c
                  <goal>sign</goal>
d4334c
                </goals>
d4334c
              </execution>
d4334c
            </executions>
d4334c
          </plugin>
d4334c
          <plugin>
d4334c
            <groupId>org.apache.maven.plugins</groupId>
d4334c
            <artifactId>maven-javadoc-plugin</artifactId>
d4334c
            <executions>
d4334c
              <execution>
d4334c
                <id>attach-javadocs</id>
d4334c
                <goals>
d4334c
                  <goal>jar</goal>
d4334c
                </goals>
d4334c
              </execution>
d4334c
            </executions>
d4334c
          </plugin>
d4334c
          <plugin>
d4334c
            <groupId>org.sonatype.plugins</groupId>
d4334c
            <artifactId>nexus-staging-maven-plugin</artifactId>
d4334c
            <configuration>
d4334c
              
d4334c
              <serverId>${forgeReleaseId}</serverId>
d4334c
              <updateReleaseInfo>true</updateReleaseInfo>
d4334c
            </configuration>
d4334c
          </plugin>
d4334c
        </plugins>
d4334c
      </build>
d4334c
    </profile>
d4334c
  </profiles>
d4334c
d4334c
</project>