1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 2010 Sonatype, Inc.
5 Sonatype Inc, licenses this file to you under the Apache License,
6 Version 2.0 (the "License"); you may not use this file except in
7 compliance with the License. You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing,
12 software distributed under the License is distributed on an
13 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 KIND, either express or implied. See the License for the
15 specific language governing permissions and limitations
18 <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">
19 <modelVersion>4.0.0</modelVersion>
21 <groupId>org.sonatype.forge</groupId>
22 <artifactId>forge-parent</artifactId>
23 <packaging>pom</packaging>
25 <name>Sonatype Forge Parent Pom</name>
27 <inceptionYear>2008</inceptionYear>
28 <url>http://forge.sonatype.com/</url>
31 <name>Sonatype, Inc.</name>
32 <url>http://www.sonatype.com/</url>
36 <connection>scm:svn:http://svn.sonatype.org/forge/tags/forge-parent-10</connection>
37 <url>http://svn.sonatype.org/forge/tags/forge-parent-10</url>
38 <developerConnection>scm:svn:https://svn.sonatype.org/forge/tags/forge-parent-10</developerConnection>
42 <forgeReleaseId>forge-releases</forgeReleaseId>
43 <forgeReleaseUrl>https://repository.sonatype.org/service/local/staging/deploy/maven2</forgeReleaseUrl>
44 <forgeSnapshotId>forge-snapshots</forgeSnapshotId>
45 <forgeSnapshotUrl>https://repository.sonatype.org/content/repositories/snapshots</forgeSnapshotUrl>
46 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
50 <distributionManagement>
52 <id>${forgeReleaseId}</id>
53 <url>${forgeReleaseUrl}</url>
56 <id>${forgeSnapshotId}</id>
57 <url>${forgeSnapshotUrl}</url>
59 </distributionManagement>
62 <!--set the default plugin revs-->
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-assembly-plugin</artifactId>
68 <version>2.2.1</version>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-clean-plugin</artifactId>
73 <version>2.4.1</version>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-compiler-plugin</artifactId>
78 <version>2.3.2</version>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-dependency-plugin</artifactId>
87 <version>2.2</version>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-deploy-plugin</artifactId>
92 <version>2.5</version>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-eclipse-plugin</artifactId>
97 <version>2.8</version>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-enforcer-plugin</artifactId>
102 <version>1.0</version>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-gpg-plugin</artifactId>
107 <version>1.2</version>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-install-plugin</artifactId>
112 <version>2.3.1</version>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-jar-plugin</artifactId>
117 <version>2.3.1</version>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-javadoc-plugin</artifactId>
122 <version>2.7</version>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-release-plugin</artifactId>
127 <version>2.1</version>
129 <!-- here to prevent hang see MGPG-9 -->
130 <mavenExecutorId>forked-path</mavenExecutorId>
131 <useReleaseProfile>false</useReleaseProfile>
132 <goals>deploy</goals>
133 <arguments>-Prelease</arguments>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-remote-resources-plugin</artifactId>
139 <version>1.2</version>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-resources-plugin</artifactId>
144 <version>2.5</version>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-scm-plugin</artifactId>
149 <version>1.4</version>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-site-plugin</artifactId>
154 <version>2.2</version>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-source-plugin</artifactId>
159 <version>2.1.2</version>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-surefire-plugin</artifactId>
164 <version>2.8</version>
166 <redirectTestOutputToFile>true</redirectTestOutputToFile>
170 <groupId>org.sonatype.plugins</groupId>
171 <artifactId>sisu-maven-plugin</artifactId>
172 <version>1.0</version>
175 <groupId>org.codehaus.mojo</groupId>
176 <artifactId>animal-sniffer-maven-plugin</artifactId>
177 <version>1.6</version>
180 <groupId>com.mycila.maven-license-plugin</groupId>
181 <artifactId>maven-license-plugin</artifactId>
182 <version>1.9.0</version>
185 <groupId>org.codehaus.modello</groupId>
186 <artifactId>modello-maven-plugin</artifactId>
187 <version>1.4.1</version>
189 <useJava5>true</useJava5>
193 <groupId>org.apache.felix</groupId>
194 <artifactId>maven-bundle-plugin</artifactId>
195 <version>2.3.4</version>
204 <groupId>org.codehaus.mojo</groupId>
205 <artifactId>cobertura-maven-plugin</artifactId>
206 <version>2.4</version>
209 <groupId>org.codehaus.mojo</groupId>
210 <artifactId>findbugs-maven-plugin</artifactId>
211 <version>2.3.1</version>
213 <omitVisitors>UnreadFields</omitVisitors>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-jxr-plugin</artifactId>
219 <version>2.2</version>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-project-info-reports-plugin</artifactId>
224 <version>2.3.1</version>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-pmd-plugin</artifactId>
229 <version>2.5</version>
231 <targetJdk>1.5</targetJdk>
242 <!-- We want to sign the artifact, the POM, and all attached artifacts -->
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-gpg-plugin</artifactId>
247 <!-- this presumes the correct gpg.passphrase property in the settings "release" proile -->
248 <passphrase>${gpg.passphrase}</passphrase>
249 <!-- most likely we are using an agent -->
250 <useAgent>true</useAgent>
260 <!-- We want to deploy the artifact to a staging location for perusal -->
262 <inherited>true</inherited>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-deploy-plugin</artifactId>
266 <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
267 <updateReleaseInfo>true</updateReleaseInfo>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-source-plugin</artifactId>
275 <id>attach-sources</id>
277 <goal>jar-no-fork</goal>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-javadoc-plugin</artifactId>
286 <encoding>${project.build.sourceEncoding}</encoding>
290 <id>attach-javadocs</id>
299 <groupId>org.codehaus.mojo</groupId>
300 <artifactId>clirr-maven-plugin</artifactId>
304 <phase>package</phase>