Blame SOURCES/jvnet-parent-4.pom

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