Home | History | Annotate | Download | only in lib
      1 <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">
      2 	<modelVersion>4.0.0</modelVersion>
      3 
      4 	<groupId>org.sonatype.oss</groupId>
      5 	<artifactId>oss-parent</artifactId>
      6 	<version>4</version>
      7 	<packaging>pom</packaging>
      8 
      9 	<name>Sonatype OSS Parent</name>
     10 	<url>http://nexus.sonatype.org/oss-repository-hosting.html</url>
     11 	<description>Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/ </description>
     12 
     13 	<scm>
     14 		<connection>scm:svn:http://svn.sonatype.org/spice/tags/oss-parent-4</connection>
     15 		<developerConnection>scm:svn:https://svn.sonatype.org/spice/tags/oss-parent-4</developerConnection>
     16 		<url>http://svn.sonatype.org/spice/tags/oss-parent-4</url>
     17 	</scm>
     18 
     19 	<repositories>
     20 		<repository>
     21 			<id>sonatype-nexus-snapshots</id>
     22 			<name>Sonatype Nexus Snapshots</name>
     23 			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
     24 			<releases>
     25 				<enabled>false</enabled>
     26 			</releases>
     27 			<snapshots>
     28 				<enabled>true</enabled>
     29 			</snapshots>
     30 		</repository>
     31 	</repositories>
     32 
     33 
     34 	<distributionManagement>
     35 		<snapshotRepository>
     36 			<id>sonatype-nexus-snapshots</id>
     37 			<name>Sonatype Nexus Snapshots</name>
     38 			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
     39 		</snapshotRepository>
     40 		<repository>
     41 			<id>sonatype-nexus-staging</id>
     42 			<name>Nexus Release Repository</name>
     43 			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
     44 		</repository>
     45 	</distributionManagement>
     46 
     47 	<build>
     48 		<plugins>
     49 			<plugin>
     50 				<groupId>org.apache.maven.plugins</groupId>
     51 				<artifactId>maven-enforcer-plugin</artifactId>
     52 				<version>1.0-beta-1</version>
     53 				<executions>
     54 					<execution>
     55 						<id>enforce-maven</id>
     56 						<goals>
     57 							<goal>enforce</goal>
     58 						</goals>
     59 						<configuration>
     60 							<rules>
     61 								<requireMavenVersion>
     62 									<version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
     63 									<message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
     64 								</requireMavenVersion>
     65 							</rules>
     66 						</configuration>
     67 					</execution>
     68 				</executions>
     69 			</plugin>
     70 		</plugins>
     71 		<pluginManagement>
     72 			<plugins>
     73 				<plugin>
     74 					<groupId>org.apache.maven.plugins</groupId>
     75 					<artifactId>maven-release-plugin</artifactId>
     76 					<version>2.0</version>
     77 					<configuration>
     78 						<mavenExecutorId>forked-path</mavenExecutorId>
     79 					</configuration>
     80 				</plugin>
     81 			</plugins>
     82 		</pluginManagement>
     83 	</build>
     84 
     85 	<properties>
     86 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     87 	</properties>
     88 
     89 	<profiles>
     90 		<profile>
     91 			<id>sonatype-release-profile</id>
     92 			<activation>
     93 				<property>
     94 					<name>performRelease</name>
     95 					<value>true</value>
     96 				</property>
     97 			</activation>
     98 			<build>
     99 				<plugins>
    100 					<plugin>
    101 						<groupId>org.apache.maven.plugins</groupId>
    102 						<artifactId>maven-source-plugin</artifactId>
    103 						<version>2.1.2</version>
    104 						<executions>
    105 							<execution>
    106 								<id>attach-sources</id>
    107 								<goals>
    108 									<goal>jar-no-fork</goal>
    109 								</goals>
    110 							</execution>
    111 						</executions>
    112 					</plugin>
    113 					<plugin>
    114 						<groupId>org.apache.maven.plugins</groupId>
    115 						<artifactId>maven-javadoc-plugin</artifactId>
    116 						<version>2.7</version>
    117 						<executions>
    118 							<execution>
    119 								<id>attach-javadocs</id>
    120 								<goals>
    121 									<goal>jar</goal>
    122 								</goals>
    123 							</execution>
    124 						</executions>
    125 					</plugin>
    126 					<plugin>
    127 						<groupId>org.apache.maven.plugins</groupId>
    128 						<artifactId>maven-gpg-plugin</artifactId>
    129 						<version>1.1</version>
    130 						<executions>
    131 							<execution>
    132 								<id>sign-artifacts</id>
    133 								<phase>verify</phase>
    134 								<goals>
    135 									<goal>sign</goal>
    136 								</goals>
    137 							</execution>
    138 						</executions>
    139 					</plugin>
    140 				</plugins>
    141 			</build>
    142 		</profile>
    143 	</profiles>
    144 
    145 </project>
    146