7c2c01
7c2c01
7c2c01
  ~ Copyright (c) 2007-2014 Sonatype, Inc. All rights reserved.
7c2c01
  ~
7c2c01
  ~ This program is licensed to you under the Apache License Version 2.0,
7c2c01
  ~ and you may not use this file except in compliance with the Apache License Version 2.0.
7c2c01
  ~ You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
7c2c01
  ~
7c2c01
  ~ Unless required by applicable law or agreed to in writing,
7c2c01
  ~ software distributed under the Apache License Version 2.0 is distributed on an
7c2c01
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7c2c01
  ~ See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
7c2c01
  -->
7c2c01
<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">
7c2c01
  <modelVersion>4.0.0</modelVersion>
7c2c01
7c2c01
  <groupId>net.java</groupId>
7c2c01
  <artifactId>jvnet-parent</artifactId>
7c2c01
  <version>5</version>
7c2c01
  <packaging>pom</packaging>
7c2c01
7c2c01
  <name>Java.net Parent</name>
7c2c01
  <url>http://java.net/</url>
7c2c01
  <description>Java.net - The Source for Java Technology Collaboration</description>
7c2c01
7c2c01
  <scm>
7c2c01
    <connection>scm:git:git@github.com:sonatype/jvnet-parent.git</connection>
7c2c01
    <developerConnection>scm:git:git@github.com:sonatype/jvnet-parent.git</developerConnection>
7c2c01
    <url>https://github.com/sonatype/jvnet-parent</url>
7c2c01
  </scm>
7c2c01
7c2c01
  <distributionManagement>
7c2c01
    <snapshotRepository>
7c2c01
      <id>jvnet-nexus-snapshots</id>
7c2c01
      <name>Java.net Nexus Snapshots Repository</name>
7c2c01
      <url>${jvnetDistMgmtSnapshotsUrl}</url>
7c2c01
    </snapshotRepository>
7c2c01
    <repository>
7c2c01
      <id>jvnet-nexus-staging</id>
7c2c01
      <name>Java.net Nexus Staging Repository</name>
7c2c01
      <url>https://maven.java.net/service/local/staging/deploy/maven2/</url>
7c2c01
    </repository>
7c2c01
  </distributionManagement>
7c2c01
7c2c01
  
7c2c01
    Configure jvnet-nexus-releases repository by default.
7c2c01
  -->
7c2c01
  <repositories>
7c2c01
    <repository>
7c2c01
      <id>jvnet-nexus-releases</id>
7c2c01
      <name>Java.net Releases Repositories</name>
7c2c01
      <url>https://maven.java.net/content/repositories/releases/</url>
7c2c01
      <releases>
7c2c01
        <enabled>true</enabled>
7c2c01
      </releases>
7c2c01
      <snapshots>
7c2c01
        <enabled>false</enabled>
7c2c01
      </snapshots>
7c2c01
    </repository>
7c2c01
  </repositories>
7c2c01
  <pluginRepositories>
7c2c01
    <pluginRepository>
7c2c01
      <id>jvnet-nexus-releases</id>
7c2c01
      <name>Java.net Releases Repositories</name>
7c2c01
      <url>https://maven.java.net/content/repositories/releases/</url>
7c2c01
      <releases>
7c2c01
        <enabled>true</enabled>
7c2c01
      </releases>
7c2c01
      <snapshots>
7c2c01
        <enabled>false</enabled>
7c2c01
      </snapshots>
7c2c01
    </pluginRepository>
7c2c01
  </pluginRepositories>
7c2c01
7c2c01
  <build>
7c2c01
    <pluginManagement>
7c2c01
      <plugins>
7c2c01
        <plugin>
7c2c01
          <groupId>org.apache.maven.plugins</groupId>
7c2c01
          <artifactId>maven-release-plugin</artifactId>
7c2c01
          <configuration>
7c2c01
            <mavenExecutorId>forked-path</mavenExecutorId>
7c2c01
            <useReleaseProfile>false</useReleaseProfile>
7c2c01
            <arguments>-Pjvnet-release ${release.arguments}</arguments>
7c2c01
          </configuration>
7c2c01
        </plugin>
7c2c01
      </plugins>
7c2c01
    </pluginManagement>
7c2c01
  </build>
7c2c01
7c2c01
  <properties>
7c2c01
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7c2c01
    <jvnetDistMgmtSnapshotsUrl>https://maven.java.net/content/repositories/snapshots/</jvnetDistMgmtSnapshotsUrl>
7c2c01
    
7c2c01
      intialize release.arguments to empty, otherwise if not defined
7c2c01
      it can fail the release plugin
7c2c01
    -->
7c2c01
    <release.arguments></release.arguments>
7c2c01
  </properties>
7c2c01
7c2c01
  <profiles>
7c2c01
    <profile>
7c2c01
      <id>jvnet-release</id>
7c2c01
      <build>
7c2c01
        <plugins>
7c2c01
          <plugin>
7c2c01
            <groupId>org.apache.maven.plugins</groupId>
7c2c01
            <artifactId>maven-source-plugin</artifactId>
7c2c01
            <version>2.1</version>
7c2c01
            <executions>
7c2c01
              <execution>
7c2c01
                <id>attach-sources</id>
7c2c01
                <goals>
7c2c01
                  <goal>jar-no-fork</goal>
7c2c01
                </goals>
7c2c01
              </execution>
7c2c01
            </executions>
7c2c01
          </plugin>
7c2c01
          <plugin>
7c2c01
            <groupId>org.apache.maven.plugins</groupId>
7c2c01
            <artifactId>maven-javadoc-plugin</artifactId>
7c2c01
            <version>2.8</version>
7c2c01
            <executions>
7c2c01
              <execution>
7c2c01
                <id>attach-javadocs</id>
7c2c01
                <goals>
7c2c01
                  <goal>jar</goal>
7c2c01
                </goals>
7c2c01
              </execution>
7c2c01
            </executions>
7c2c01
          </plugin>
7c2c01
          <plugin>
7c2c01
            <groupId>org.apache.maven.plugins</groupId>
7c2c01
            <artifactId>maven-enforcer-plugin</artifactId>
7c2c01
            <version>1.0-beta-1</version>
7c2c01
            <executions>
7c2c01
              <execution>
7c2c01
                <id>enforce-maven</id>
7c2c01
                <goals>
7c2c01
                  <goal>enforce</goal>
7c2c01
                </goals>
7c2c01
                <configuration>
7c2c01
                  <rules>
7c2c01
                    <requireMavenVersion>
7c2c01
                      <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
7c2c01
                      <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures
7c2c01
                        and checksums respectively.</message>
7c2c01
                    </requireMavenVersion>
7c2c01
                  </rules>
7c2c01
                </configuration>
7c2c01
              </execution>
7c2c01
            </executions>
7c2c01
          </plugin>
7c2c01
          <plugin>
7c2c01
            <groupId>org.apache.maven.plugins</groupId>
7c2c01
            <artifactId>maven-gpg-plugin</artifactId>
7c2c01
            <version>1.1</version>
7c2c01
            <executions>
7c2c01
              <execution>
7c2c01
                <id>sign-artifacts</id>
7c2c01
                <phase>verify</phase>
7c2c01
                <goals>
7c2c01
                  <goal>sign</goal>
7c2c01
                </goals>
7c2c01
              </execution>
7c2c01
            </executions>
7c2c01
          </plugin>
7c2c01
        </plugins>
7c2c01
      </build>
7c2c01
    </profile>
7c2c01
    <profile>
7c2c01
      <id>snapshots</id>
7c2c01
      <repositories>
7c2c01
        <repository>
7c2c01
          <id>jvnet-nexus-snapshots</id>
7c2c01
          <name>Java.net Nexus Snapshots Repository</name>
7c2c01
          <url>https://maven.java.net/content/repositories/snapshots</url>
7c2c01
          <releases>
7c2c01
            <enabled>false</enabled>
7c2c01
          </releases>
7c2c01
          <snapshots>
7c2c01
            <enabled>true</enabled>
7c2c01
          </snapshots>
7c2c01
        </repository>
7c2c01
      </repositories>
7c2c01
      <pluginRepositories>
7c2c01
        <pluginRepository>
7c2c01
          <id>jvnet-nexus-snapshots</id>
7c2c01
          <name>Java.net Nexus Snapshots Repository</name>
7c2c01
          <url>https://maven.java.net/content/repositories/snapshots</url>
7c2c01
          <releases>
7c2c01
            <enabled>false</enabled>
7c2c01
          </releases>
7c2c01
          <snapshots>
7c2c01
            <enabled>true</enabled>
7c2c01
          </snapshots>
7c2c01
        </pluginRepository>
7c2c01
      </pluginRepositories>
7c2c01
    </profile>
7c2c01
    <profile>
7c2c01
      <id>staging</id>
7c2c01
      <activation>
7c2c01
        <activeByDefault>false</activeByDefault>
7c2c01
      </activation>
7c2c01
      <repositories>
7c2c01
        <repository>
7c2c01
          <id>jvnet-nexus-staging</id>
7c2c01
          <name>Java.net Staging Repositoriy</name>
7c2c01
          <url>https://maven.java.net/content/repositories/staging/</url>
7c2c01
          <releases>
7c2c01
            <enabled>true</enabled>
7c2c01
          </releases>
7c2c01
          <snapshots>
7c2c01
            <enabled>false</enabled>
7c2c01
          </snapshots>
7c2c01
        </repository>
7c2c01
      </repositories>
7c2c01
      <pluginRepositories>
7c2c01
        <pluginRepository>
7c2c01
          <id>jvnet-nexus-staging</id>
7c2c01
          <name>Java.net Staging Repositoriy</name>
7c2c01
          <url>https://maven.java.net/content/repositories/staging/</url>
7c2c01
          <releases>
7c2c01
            <enabled>true</enabled>
7c2c01
          </releases>
7c2c01
          <snapshots>
7c2c01
            <enabled>false</enabled>
7c2c01
          </snapshots>
7c2c01
        </pluginRepository>
7c2c01
      </pluginRepositories>
7c2c01
    </profile>
7c2c01
    <profile>
7c2c01
      <id>promoted</id>
7c2c01
      <activation>
7c2c01
        <activeByDefault>false</activeByDefault>
7c2c01
      </activation>
7c2c01
      <repositories>
7c2c01
        <repository>
7c2c01
          <id>jvnet-nexus-promoted</id>
7c2c01
          <name>Java.net Promoted Repositories</name>
7c2c01
          <url>https://maven.java.net/content/repositories/promoted/</url>
7c2c01
          <releases>
7c2c01
            <enabled>true</enabled>
7c2c01
          </releases>
7c2c01
          <snapshots>
7c2c01
            <enabled>false</enabled>
7c2c01
          </snapshots>
7c2c01
        </repository>
7c2c01
      </repositories>
7c2c01
      <pluginRepositories>
7c2c01
        <pluginRepository>
7c2c01
          <id>jvnet-nexus-promoted</id>
7c2c01
          <name>Java.net Promoted Repositories</name>
7c2c01
          <url>https://maven.java.net/content/repositories/promoted/</url>
7c2c01
          <releases>
7c2c01
            <enabled>true</enabled>
7c2c01
          </releases>
7c2c01
          <snapshots>
7c2c01
            <enabled>false</enabled>
7c2c01
          </snapshots>
7c2c01
        </pluginRepository>
7c2c01
      </pluginRepositories>
7c2c01
    </profile>
7c2c01
  </profiles>
7c2c01
</project>