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.codehaus</groupId>
      5 	<artifactId>codehaus-parent</artifactId>
      6 	<version>3</version>
      7 	<packaging>pom</packaging>
      8 
      9 	<name>Codehaus Parent</name>
     10 	<url>http://codehaus.org/</url>
     11 	<description>The Codehaus is a collaborative environment for building open source projects with a strong emphasis on modern languages, focussed on quality components that meet real world needs. </description>
     12 
     13 	<scm>
     14 		<connection>scm:svn:http://svn.sonatype.org/spice/tags/codehaus-parent-3</connection>
     15 		<developerConnection>scm:svn:https://svn.sonatype.org/spice/tags/codehaus-parent-3</developerConnection>
     16 		<url>http://svn.sonatype.org/spice/tags/codehaus-parent-3</url>
     17 	</scm>
     18 
     19 	<repositories>
     20 		<repository>
     21 			<id>codehaus-snapshots</id>
     22 			<name>Codehaus Snapshots</name>
     23 			<url>http://nexus.codehaus.org/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>codehaus-nexus-snapshots</id>
     37 			<name>Codehaus Nexus Snapshots</name>
     38 			<url>${codehausDistMgmtSnapshotsUrl}</url>
     39 		</snapshotRepository>
     40 		<repository>
     41 			<id>codehaus-nexus-staging</id>
     42 			<name>Codehaus Release Repository</name>
     43 			<url>https://nexus.codehaus.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 						<useReleaseProfile>false</useReleaseProfile>
     80 						<arguments>-Pcodehaus-release</arguments>
     81 					</configuration>
     82 				</plugin>
     83 			</plugins>
     84 		</pluginManagement>
     85 	</build>
     86 
     87 	<properties>
     88 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     89 		<codehausDistMgmtSnapshotsUrl>https://nexus.codehaus.org/content/repositories/snapshots/</codehausDistMgmtSnapshotsUrl>
     90 	</properties>
     91 
     92 	<profiles>
     93 		<profile>
     94 			<id>codehaus-release</id>
     95 			<build>
     96 				<plugins>
     97 					<plugin>
     98 						<groupId>org.apache.maven.plugins</groupId>
     99 						<artifactId>maven-source-plugin</artifactId>
    100 						<version>2.1.2</version>
    101 						<executions>
    102 							<execution>
    103 								<id>attach-sources</id>
    104 								<goals>
    105 									<goal>jar-no-fork</goal>
    106 								</goals>
    107 							</execution>
    108 						</executions>
    109 					</plugin>
    110 					<plugin>
    111 						<groupId>org.apache.maven.plugins</groupId>
    112 						<artifactId>maven-javadoc-plugin</artifactId>
    113 						<version>2.7</version>
    114 						<executions>
    115 							<execution>
    116 								<id>attach-javadocs</id>
    117 								<goals>
    118 									<goal>jar</goal>
    119 								</goals>
    120 							</execution>
    121 						</executions>
    122 					</plugin>
    123 					<plugin>
    124 						<groupId>org.apache.maven.plugins</groupId>
    125 						<artifactId>maven-gpg-plugin</artifactId>
    126 						<version>1.1</version>
    127 						<executions>
    128 							<execution>
    129 								<id>sign-artifacts</id>
    130 								<phase>verify</phase>
    131 								<goals>
    132 									<goal>sign</goal>
    133 								</goals>
    134 							</execution>
    135 						</executions>
    136 					</plugin>
    137 				</plugins>
    138 			</build>
    139 		</profile>
    140 	</profiles>
    141 
    142 </project>
    143