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