Home | History | Annotate | Download | only in 13
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 
      3 <!--
      4 Licensed to the Apache Software Foundation (ASF) under one
      5 or more contributor license agreements.  See the NOTICE file
      6 distributed with this work for additional information
      7 regarding copyright ownership.  The ASF licenses this file
      8 to you under the Apache License, Version 2.0 (the
      9 "License"); you may not use this file except in compliance
     10 with the License.  You may obtain a copy of the License at
     11 
     12   http://www.apache.org/licenses/LICENSE-2.0
     13 
     14 Unless required by applicable law or agreed to in writing,
     15 software distributed under the License is distributed on an
     16 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     17 KIND, either express or implied.  See the License for the
     18 specific language governing permissions and limitations
     19 under 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>13</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 (a] apache.org</subscribe>
     67       <unsubscribe>announce-unsubscribe (a] apache.org</unsubscribe>
     68       <post>announce (a] 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-13</connection>
     75     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/apache-13</developerConnection>
     76     <url>http://svn.apache.org/viewvc/maven/pom/tags/apache-13</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     <arguments />
    100   </properties>
    101 
    102   <build>
    103     <pluginManagement>
    104       <plugins>
    105         <!-- set versions of common plugins for reproducibility, ordered alphabetically -->
    106         <plugin>
    107           <groupId>org.apache.maven.plugins</groupId>
    108           <artifactId>maven-antrun-plugin</artifactId>
    109           <version>1.6</version>
    110         </plugin>
    111         <plugin>
    112           <groupId>org.apache.maven.plugins</groupId>
    113           <artifactId>maven-assembly-plugin</artifactId>
    114           <version>2.2.1</version>
    115         </plugin>
    116         <plugin>
    117           <groupId>org.apache.maven.plugins</groupId>
    118           <artifactId>maven-clean-plugin</artifactId>
    119           <version>2.5</version>
    120         </plugin>
    121         <plugin>
    122           <groupId>org.apache.maven.plugins</groupId>
    123           <artifactId>maven-compiler-plugin</artifactId>
    124           <version>2.5.1</version>
    125           <configuration>
    126             <source>1.4</source>
    127             <target>1.4</target>
    128           </configuration>
    129         </plugin>
    130         <plugin>
    131           <groupId>org.apache.maven.plugins</groupId>
    132           <artifactId>maven-deploy-plugin</artifactId>
    133           <version>2.7</version>
    134         </plugin>
    135         <plugin>
    136           <groupId>org.apache.maven.plugins</groupId>
    137           <artifactId>maven-docck-plugin</artifactId>
    138           <version>1.0</version>
    139         </plugin>
    140         <plugin>
    141           <groupId>org.apache.maven.plugins</groupId>
    142           <artifactId>maven-enforcer-plugin</artifactId>
    143           <version>1.0.1</version>
    144         </plugin>
    145         <plugin>
    146           <groupId>org.apache.maven.plugins</groupId>
    147           <artifactId>maven-failsafe-plugin</artifactId>
    148           <version>2.12.4</version>
    149         </plugin>
    150         <plugin>
    151           <groupId>org.apache.maven.plugins</groupId>
    152           <artifactId>maven-gpg-plugin</artifactId>
    153           <version>1.4</version>
    154         </plugin>
    155         <plugin>
    156           <groupId>org.apache.maven.plugins</groupId>
    157           <artifactId>maven-install-plugin</artifactId>
    158           <version>2.3.1</version>
    159         </plugin>
    160         <plugin>
    161           <groupId>org.apache.maven.plugins</groupId>
    162           <artifactId>maven-invoker-plugin</artifactId>
    163           <version>1.7</version>
    164         </plugin>
    165         <plugin>
    166           <groupId>org.apache.maven.plugins</groupId>
    167           <artifactId>maven-jar-plugin</artifactId>
    168           <version>2.4</version>
    169           <configuration>
    170             <archive>
    171               <manifest>
    172                 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
    173                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
    174               </manifest>
    175             </archive>
    176           </configuration>
    177         </plugin>
    178         <plugin>
    179           <groupId>org.apache.maven.plugins</groupId>
    180           <artifactId>maven-javadoc-plugin</artifactId>
    181           <version>2.9</version>
    182         </plugin>
    183         <plugin>
    184           <groupId>org.apache.maven.plugins</groupId>
    185           <artifactId>maven-plugin-plugin</artifactId>
    186           <version>3.2</version>
    187         </plugin>
    188         <!-- START SNIPPET: release-plugin-configuration -->
    189         <plugin>
    190           <groupId>org.apache.maven.plugins</groupId>
    191           <artifactId>maven-release-plugin</artifactId>
    192           <version>2.3.2</version>
    193           <configuration>
    194             <useReleaseProfile>false</useReleaseProfile>
    195             <goals>deploy</goals>
    196             <arguments>-Papache-release ${arguments}</arguments>
    197           </configuration>
    198         </plugin>
    199         <!-- END SNIPPET: release-plugin-configuration -->
    200         <plugin>
    201           <groupId>org.apache.maven.plugins</groupId>
    202           <artifactId>maven-remote-resources-plugin</artifactId>
    203           <version>1.4</version>
    204         </plugin>
    205         <plugin>
    206           <groupId>org.apache.maven.plugins</groupId>
    207           <artifactId>maven-resources-plugin</artifactId>
    208           <version>2.6</version>
    209         </plugin>
    210         <plugin>
    211           <groupId>org.apache.maven.plugins</groupId>
    212           <artifactId>maven-scm-plugin</artifactId>
    213           <version>1.8</version>
    214         </plugin>
    215         <plugin>
    216           <groupId>org.apache.maven.plugins</groupId>
    217           <artifactId>maven-scm-publish-plugin</artifactId>
    218           <version>1.0-beta-2</version>
    219         </plugin>
    220         <plugin>
    221           <groupId>org.apache.maven.plugins</groupId>
    222           <artifactId>maven-site-plugin</artifactId>
    223           <version>3.2</version>
    224         </plugin>
    225         <plugin>
    226           <groupId>org.apache.maven.plugins</groupId>
    227           <artifactId>maven-source-plugin</artifactId>
    228           <version>2.2.1</version>
    229         </plugin>
    230         <plugin>
    231           <groupId>org.apache.maven.plugins</groupId>
    232           <artifactId>maven-surefire-plugin</artifactId>
    233           <version>2.12.4</version><!-- keep maven-failsafe-plugin in sync -->
    234         </plugin>
    235         <plugin>
    236           <groupId>org.apache.rat</groupId>
    237           <artifactId>apache-rat-plugin</artifactId>
    238           <version>0.8</version>
    239         </plugin>
    240         <plugin>
    241           <groupId>org.codehaus.mojo</groupId>
    242           <artifactId>clirr-maven-plugin</artifactId>
    243           <version>2.4</version>
    244         </plugin>
    245       </plugins>
    246     </pluginManagement>
    247     <plugins>
    248       <!-- We want to package up license resources in the JARs produced -->
    249       <plugin>
    250         <groupId>org.apache.maven.plugins</groupId>
    251         <artifactId>maven-remote-resources-plugin</artifactId>
    252         <executions>
    253           <execution>
    254             <goals>
    255               <goal>process</goal>
    256             </goals>
    257             <configuration>
    258               <resourceBundles>
    259                 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
    260               </resourceBundles>
    261             </configuration>
    262           </execution>
    263         </executions>
    264       </plugin>
    265     </plugins>
    266   </build>
    267 
    268   <profiles>
    269     <!-- START SNIPPET: release-profile -->
    270     <profile>
    271       <id>apache-release</id>
    272       <build>
    273         <plugins>
    274           <!-- Create a source-release artifact that contains the fully buildable 
    275                project directory source structure. This is the artifact which is 
    276                the official subject of any release vote. -->
    277           <plugin>
    278             <artifactId>maven-assembly-plugin</artifactId>
    279             <dependencies>
    280               <dependency>
    281                 <groupId>org.apache.apache.resources</groupId>
    282                 <artifactId>apache-source-release-assembly-descriptor</artifactId>
    283                 <version>1.0.4</version>
    284               </dependency>
    285             </dependencies>
    286             <executions>
    287               <execution>
    288                 <id>source-release-assembly</id>
    289                 <phase>package</phase>
    290                 <goals>
    291                   <goal>single</goal>
    292                 </goals>
    293                 <configuration>
    294                   <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
    295                   <descriptorRefs>
    296                     <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
    297                   </descriptorRefs>
    298                   <tarLongFileFormat>gnu</tarLongFileFormat>
    299                 </configuration>
    300               </execution>
    301             </executions>
    302           </plugin>
    303           <!-- We want to deploy the artifact to a staging location for perusal -->
    304           <plugin>
    305             <inherited>true</inherited>
    306             <groupId>org.apache.maven.plugins</groupId>
    307             <artifactId>maven-deploy-plugin</artifactId>
    308             <configuration>
    309               <updateReleaseInfo>true</updateReleaseInfo>
    310             </configuration>
    311           </plugin>
    312           <plugin>
    313             <groupId>org.apache.maven.plugins</groupId>
    314             <artifactId>maven-source-plugin</artifactId>
    315             <executions>
    316               <execution>
    317                 <id>attach-sources</id>
    318                 <goals>
    319                   <goal>jar</goal>
    320                 </goals>
    321               </execution>
    322             </executions>
    323           </plugin>
    324           <plugin>
    325             <groupId>org.apache.maven.plugins</groupId>
    326             <artifactId>maven-javadoc-plugin</artifactId>
    327             <executions>
    328               <execution>
    329                 <id>attach-javadocs</id>
    330                 <goals>
    331                   <goal>jar</goal>
    332                 </goals>
    333               </execution>
    334             </executions>
    335           </plugin>
    336           <!-- We want to sign the artifact, the POM, and all attached artifacts -->
    337           <plugin>
    338             <groupId>org.apache.maven.plugins</groupId>
    339             <artifactId>maven-gpg-plugin</artifactId>
    340             <configuration>
    341               <passphrase>${gpg.passphrase}</passphrase>
    342               <useAgent>${gpg.useagent}</useAgent>
    343             </configuration>
    344             <executions>
    345               <execution>
    346                 <goals>
    347                   <goal>sign</goal>
    348                 </goals>
    349               </execution>
    350             </executions>
    351           </plugin>
    352         </plugins>
    353       </build>
    354     </profile>
    355     <!-- END SNIPPET: release-profile -->
    356 
    357     <profile>
    358       <id>maven-3</id>
    359       <activation>
    360         <file>
    361           <!--  This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
    362           <exists>${basedir}</exists>
    363         </file>
    364       </activation>
    365       <build>
    366         <plugins>
    367           <plugin>
    368             <groupId>org.apache.maven.plugins</groupId>
    369             <artifactId>maven-site-plugin</artifactId>
    370             <executions>
    371               <execution>
    372                 <id>attach-descriptor</id>
    373                 <goals>
    374                   <goal>attach-descriptor</goal>
    375                 </goals>
    376               </execution>
    377             </executions>
    378           </plugin>
    379         </plugins>
    380       </build>
    381     </profile>    
    382   </profiles>
    383 </project>
    384 
    385