1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4Licensed to the Apache Software Foundation (ASF) under one
5or more contributor license agreements.  See the NOTICE file
6distributed with this work for additional information
7regarding copyright ownership.  The ASF licenses this file
8to you under the Apache License, Version 2.0 (the
9"License"); you may not use this file except in compliance
10with the License.  You may obtain a copy of the License at
11
12  http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing,
15software distributed under the License is distributed on an
16"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17KIND, either express or implied.  See the License for the
18specific language governing permissions and limitations
19under the License.
20-->
21
22<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">
23  <modelVersion>4.0.0</modelVersion>
24
25  <!-- for more information, see the documentation of this POM: http://maven.apache.org/pom/asf/ -->
26  <groupId>org.apache</groupId>
27  <artifactId>apache</artifactId>
28  <version>11</version>
29  <packaging>pom</packaging>
30
31  <name>The Apache Software Foundation</name>
32  <description>
33    The Apache Software Foundation provides support for the Apache community of open-source software projects.
34    The Apache projects are characterized by a collaborative, consensus based development process, an open and
35    pragmatic software license, and a desire to create high quality software that leads the way in its field.
36    We consider ourselves not simply a group of projects sharing a server, but rather a community of developers
37    and users.
38  </description>
39  <url>http://www.apache.org/</url>
40  <organization>
41    <name>The Apache Software Foundation</name>
42    <url>http://www.apache.org/</url>
43  </organization>
44  <licenses>
45    <license>
46      <name>The Apache Software License, Version 2.0</name>
47      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
48      <distribution>repo</distribution>
49    </license>
50  </licenses>
51
52  <repositories>
53    <repository>
54      <id>apache.snapshots</id>
55      <name>Apache Snapshot Repository</name>
56      <url>http://repository.apache.org/snapshots</url>
57      <releases>
58        <enabled>false</enabled>
59      </releases>
60    </repository>
61  </repositories>
62
63  <mailingLists>
64    <mailingList>
65      <name>Apache Announce List</name>
66      <subscribe>announce-subscribe@apache.org</subscribe>
67      <unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
68      <post>announce@apache.org</post>
69      <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
70    </mailingList>
71  </mailingLists>
72
73  <scm>
74    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/apache-11</connection>
75    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/apache-11</developerConnection>
76    <url>http://svn.apache.org/viewvc/maven/pom/tags/apache-11</url>
77  </scm>
78
79  <distributionManagement>
80    <repository>
81      <id>apache.releases.https</id>
82      <name>Apache Release Distribution Repository</name>
83      <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
84    </repository>
85    <snapshotRepository>
86      <id>apache.snapshots.https</id>
87      <name>${distMgmtSnapshotsName}</name>
88      <url>${distMgmtSnapshotsUrl}</url>
89    </snapshotRepository>
90  </distributionManagement>
91
92  <properties>
93    <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
94    <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
95    <organization.logo>http://www.apache.org/images/asf_logo_wide.gif</organization.logo>
96    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
97    <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor>
98    <gpg.useagent>true</gpg.useagent>
99  </properties>
100
101  <build>
102    <pluginManagement>
103      <plugins>
104        <!-- set versions of common plugins for reproducibility, ordered alphabetically -->
105        <plugin>
106          <groupId>org.apache.maven.plugins</groupId>
107          <artifactId>maven-antrun-plugin</artifactId>
108          <version>1.6</version>
109        </plugin>
110        <plugin>
111          <groupId>org.apache.maven.plugins</groupId>
112          <artifactId>maven-assembly-plugin</artifactId>
113          <version>2.2.1</version>
114        </plugin>
115        <plugin>
116          <groupId>org.apache.maven.plugins</groupId>
117          <artifactId>maven-clean-plugin</artifactId>
118          <version>2.5</version>
119        </plugin>
120        <plugin>
121          <groupId>org.apache.maven.plugins</groupId>
122          <artifactId>maven-compiler-plugin</artifactId>
123          <version>2.5.1</version>
124          <configuration>
125            <source>1.4</source>
126            <target>1.4</target>
127          </configuration>
128        </plugin>
129        <plugin>
130          <groupId>org.apache.maven.plugins</groupId>
131          <artifactId>maven-deploy-plugin</artifactId>
132          <version>2.7</version>
133        </plugin>
134        <plugin>
135          <groupId>org.apache.maven.plugins</groupId>
136          <artifactId>maven-docck-plugin</artifactId>
137          <version>1.0</version>
138        </plugin>
139        <plugin>
140          <groupId>org.apache.maven.plugins</groupId>
141          <artifactId>maven-enforcer-plugin</artifactId>
142          <version>1.0.1</version>
143        </plugin>
144        <plugin>
145          <groupId>org.apache.maven.plugins</groupId>
146          <artifactId>maven-gpg-plugin</artifactId>
147          <version>1.4</version>
148        </plugin>
149        <plugin>
150          <groupId>org.apache.maven.plugins</groupId>
151          <artifactId>maven-install-plugin</artifactId>
152          <version>2.3.1</version>
153        </plugin>
154        <plugin>
155          <groupId>org.apache.maven.plugins</groupId>
156          <artifactId>maven-invoker-plugin</artifactId>
157          <version>1.6</version>
158        </plugin>
159        <plugin>
160          <groupId>org.apache.maven.plugins</groupId>
161          <artifactId>maven-jar-plugin</artifactId>
162          <version>2.4</version>
163          <configuration>
164            <archive>
165              <manifest>
166                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
167                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
168              </manifest>
169            </archive>
170          </configuration>
171        </plugin>
172        <plugin>
173          <groupId>org.apache.maven.plugins</groupId>
174          <artifactId>maven-javadoc-plugin</artifactId>
175          <version>2.8.1</version>
176        </plugin>
177        <plugin>
178          <groupId>org.apache.maven.plugins</groupId>
179          <artifactId>maven-plugin-plugin</artifactId>
180          <version>3.1</version>
181        </plugin>
182        <!-- START SNIPPET: release-plugin-configuration -->
183        <plugin>
184          <groupId>org.apache.maven.plugins</groupId>
185          <artifactId>maven-release-plugin</artifactId>
186          <version>2.3.2</version>
187          <configuration>
188            <useReleaseProfile>false</useReleaseProfile>
189            <goals>deploy</goals>
190            <arguments>-Papache-release ${arguments}</arguments>
191          </configuration>
192        </plugin>
193        <!-- END SNIPPET: release-plugin-configuration -->
194        <plugin>
195          <groupId>org.apache.maven.plugins</groupId>
196          <artifactId>maven-remote-resources-plugin</artifactId>
197          <version>1.3</version>
198        </plugin>
199        <plugin>
200          <groupId>org.apache.maven.plugins</groupId>
201          <artifactId>maven-resources-plugin</artifactId>
202          <version>2.5</version>
203        </plugin>
204        <plugin>
205          <groupId>org.apache.maven.plugins</groupId>
206          <artifactId>maven-scm-plugin</artifactId>
207          <version>1.7</version>
208        </plugin>
209        <plugin>
210          <groupId>org.apache.maven.plugins</groupId>
211          <artifactId>maven-site-plugin</artifactId>
212          <version>3.1</version>
213          <dependencies>
214            <dependency>
215              <groupId>org.apache.maven.wagon</groupId>
216              <artifactId>wagon-ssh</artifactId>
217              <version>1.0</version>
218            </dependency>
219          </dependencies>
220        </plugin>
221        <plugin>
222          <groupId>org.apache.maven.plugins</groupId>
223          <artifactId>maven-source-plugin</artifactId>
224          <version>2.1.2</version>
225        </plugin>
226        <plugin>
227          <groupId>org.apache.maven.plugins</groupId>
228          <artifactId>maven-surefire-plugin</artifactId>
229          <version>2.12</version>
230        </plugin>
231        <plugin>
232          <groupId>org.apache.rat</groupId>
233          <artifactId>apache-rat-plugin</artifactId>
234          <version>0.8</version>
235        </plugin>
236        <plugin>
237          <groupId>org.codehaus.mojo</groupId>
238          <artifactId>clirr-maven-plugin</artifactId>
239          <version>2.4</version>
240        </plugin>
241      </plugins>
242    </pluginManagement>
243    <plugins>
244      <!-- We want to package up license resources in the JARs produced -->
245      <plugin>
246        <groupId>org.apache.maven.plugins</groupId>
247        <artifactId>maven-remote-resources-plugin</artifactId>
248        <executions>
249          <execution>
250            <goals>
251              <goal>process</goal>
252            </goals>
253            <configuration>
254              <resourceBundles>
255                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
256              </resourceBundles>
257            </configuration>
258          </execution>
259        </executions>
260      </plugin>
261    </plugins>
262  </build>
263
264  <reporting>
265    <plugins>
266      <plugin>
267        <groupId>org.apache.maven.plugins</groupId>
268        <artifactId>maven-project-info-reports-plugin</artifactId>
269        <version>2.5</version>
270        <reportSets>
271          <reportSet>
272            <reports>
273              <report>index</report>
274              <report>summary</report>
275              <report>modules</report>
276              <report>license</report>
277              <report>project-team</report>
278              <report>scm</report>
279              <report>issue-tracking</report>
280              <report>mailing-list</report>
281              <report>dependency-management</report>
282              <report>dependencies</report>
283              <report>dependency-convergence</report>
284              <report>cim</report>
285              <report>plugin-management</report>
286              <report>plugins</report>
287              <report>distribution-management</report>
288            </reports>
289          </reportSet>
290        </reportSets>
291      </plugin>
292    </plugins>
293  </reporting>
294
295  <profiles>
296    <!-- START SNIPPET: release-profile -->
297    <profile>
298      <id>apache-release</id>
299      <build>
300        <plugins>
301          <!-- Create a source-release artifact that contains the fully buildable
302               project directory source structure. This is the artifact which is
303               the official subject of any release vote. -->
304          <plugin>
305            <artifactId>maven-assembly-plugin</artifactId>
306            <dependencies>
307              <dependency>
308                <groupId>org.apache.apache.resources</groupId>
309                <artifactId>apache-source-release-assembly-descriptor</artifactId>
310                <version>1.0.4</version>
311              </dependency>
312            </dependencies>
313            <executions>
314              <execution>
315                <id>source-release-assembly</id>
316                <phase>package</phase>
317                <goals>
318                  <goal>single</goal>
319                </goals>
320                <configuration>
321                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
322                  <descriptorRefs>
323                    <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
324                  </descriptorRefs>
325                  <tarLongFileFormat>gnu</tarLongFileFormat>
326                </configuration>
327              </execution>
328            </executions>
329          </plugin>
330          <!-- We want to deploy the artifact to a staging location for perusal -->
331          <plugin>
332            <inherited>true</inherited>
333            <groupId>org.apache.maven.plugins</groupId>
334            <artifactId>maven-deploy-plugin</artifactId>
335            <configuration>
336              <updateReleaseInfo>true</updateReleaseInfo>
337            </configuration>
338          </plugin>
339          <plugin>
340            <groupId>org.apache.maven.plugins</groupId>
341            <artifactId>maven-source-plugin</artifactId>
342            <executions>
343              <execution>
344                <id>attach-sources</id>
345                <goals>
346                  <goal>jar</goal>
347                </goals>
348              </execution>
349            </executions>
350          </plugin>
351          <plugin>
352            <groupId>org.apache.maven.plugins</groupId>
353            <artifactId>maven-javadoc-plugin</artifactId>
354            <executions>
355              <execution>
356                <id>attach-javadocs</id>
357                <goals>
358                  <goal>jar</goal>
359                </goals>
360              </execution>
361            </executions>
362          </plugin>
363          <!-- We want to sign the artifact, the POM, and all attached artifacts -->
364          <plugin>
365            <groupId>org.apache.maven.plugins</groupId>
366            <artifactId>maven-gpg-plugin</artifactId>
367            <configuration>
368              <passphrase>${gpg.passphrase}</passphrase>
369              <useAgent>${gpg.useagent}</useAgent>
370            </configuration>
371            <executions>
372              <execution>
373                <goals>
374                  <goal>sign</goal>
375                </goals>
376              </execution>
377            </executions>
378          </plugin>
379        </plugins>
380      </build>
381    </profile>
382    <!-- END SNIPPET: release-profile -->
383
384    <profile>
385      <id>maven-3</id>
386      <activation>
387        <file>
388          <!--  This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
389          <exists>${basedir}</exists>
390        </file>
391      </activation>
392      <build>
393        <plugins>
394          <plugin>
395            <groupId>org.apache.maven.plugins</groupId>
396            <artifactId>maven-site-plugin</artifactId>
397            <executions>
398              <execution>
399                <id>attach-descriptor</id>
400                <goals>
401                  <goal>attach-descriptor</goal>
402                </goals>
403              </execution>
404            </executions>
405          </plugin>
406        </plugins>
407      </build>
408    </profile>
409  </profiles>
410</project>
411
412