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