garydgregory

commons-build-plugin with latest plugins

Mar 2nd, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.78 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements.  See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License.  You may obtain a copy of the License at
  9.  
  10.      http://www.apache.org/licenses/LICENSE-2.0
  11.  
  12. Unless required by applicable law or agreed to in writing, software
  13. distributed under the License is distributed on an "AS IS" BASIS,
  14. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. See the License for the specific language governing permissions and
  16. limitations under the License.
  17. -->
  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>
  20.     <parent>
  21.         <groupId>org.apache.commons</groupId>
  22.         <artifactId>commons-parent</artifactId>
  23.         <version>23</version>
  24.     </parent>
  25.     <groupId>org.apache.commons</groupId>
  26.     <artifactId>commons-build-plugin</artifactId>
  27.     <packaging>maven-plugin</packaging>
  28.     <version>1.4-SNAPSHOT</version>
  29.     <name>commons-build-plugin Maven Mojo</name>
  30.     <description>
  31.         Maven Ant mojo for Commons Build tasks.
  32.     </description>
  33.     <url>http://commons.apache.org/commons-build-plugin/</url>
  34.     <issueManagement>
  35.         <system>jira</system>
  36.         <url>http://issues.apache.org/jira/browse/COMMONSSITE</url>
  37.     </issueManagement>
  38.     <inceptionYear>2008</inceptionYear>
  39.     <scm>
  40.         <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/</connection>
  41.         <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/</developerConnection>
  42.         <url>http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/trunk/</url>
  43.     </scm>
  44.  
  45.     <developers>
  46.         <developer>
  47.             <name>Niall Pemberton</name>
  48.             <id>niallp</id>
  49.             <email>niallp AT apache.org</email>
  50.         </developer>
  51.         <developer>
  52.             <name>Dennis Lundberg</name>
  53.             <id>dennisl</id>
  54.         </developer>
  55.         <developer>
  56.             <name>Gary Gregory</name>
  57.             <id>ggregory</id>
  58.             <email>ggregory AT apache.org</email>
  59.             <url>http://www.garygregory.com</url>
  60.             <timezone>-5</timezone>
  61.         </developer>
  62.     </developers>
  63.  
  64.     <dependencies>
  65.         <dependency>
  66.             <groupId>org.apache.maven</groupId>
  67.             <artifactId>maven-script-ant</artifactId>
  68.             <version>2.2.1</version>
  69.             <!-- We need to exclude this artifact's dependency on Ant, -->
  70.             <!-- because it has a different groupId that the version of Ant -->
  71.             <!-- we want to use. -->
  72.             <exclusions>
  73.               <exclusion>
  74.                 <groupId>ant</groupId>
  75.                 <artifactId>ant</artifactId>
  76.               </exclusion>
  77.               <exclusion>
  78.                 <groupId>ant</groupId>
  79.                 <artifactId>ant-launcher</artifactId>
  80.               </exclusion>
  81.             </exclusions>
  82.         </dependency>
  83.  
  84.         <!-- Ant 1.7.0+ required for the "loadresource" Task -->
  85.         <!-- Ant 1.7.1 required for COMMONSSITE-35 -->
  86.         <dependency>
  87.             <groupId>org.apache.ant</groupId>
  88.             <artifactId>ant</artifactId>
  89.             <version>1.7.1</version>
  90.         </dependency>
  91.         <dependency>
  92.             <groupId>org.apache.ant</groupId>
  93.             <artifactId>ant-launcher</artifactId>
  94.             <version>1.7.1</version>
  95.         </dependency>
  96.     </dependencies>
  97.  
  98.     <build>
  99.         <resources>
  100.             <resource>
  101.                 <directory>src/main/resources</directory>
  102.                 <targetPath>resources</targetPath>
  103.             </resource>
  104.             <resource>
  105.                 <directory>${basedir}</directory>
  106.                 <targetPath>META-INF</targetPath>
  107.                 <includes>
  108.                     <include>NOTICE.txt</include>
  109.                     <include>LICENSE.txt</include>
  110.                 </includes>
  111.             </resource>
  112.         </resources>
  113.         <plugins>
  114.             <plugin>
  115.                 <artifactId>maven-plugin-plugin</artifactId>
  116.                 <version>2.9</version>
  117.                 <!-- Add the Ant plugin tools to the plugin -->
  118.                 <dependencies>
  119.                     <dependency>
  120.                         <groupId>org.apache.maven.plugin-tools</groupId>
  121.                         <artifactId>maven-plugin-tools-ant</artifactId>
  122.                         <version>2.9</version>
  123.                     </dependency>
  124.                 </dependencies>
  125.  
  126.                 <configuration>
  127.                     <goalPrefix>commons</goalPrefix>
  128.                 </configuration>
  129.  
  130.                 <executions>
  131.                     <execution>
  132.                         <phase>pre-site</phase>
  133.                         <goals>
  134.                             <goal>xdoc</goal>
  135.                         </goals>
  136.                         <configuration>
  137.                             <outputDirectory>target/plugin-generated-xdocs</outputDirectory>
  138.                         </configuration>
  139.                     </execution>
  140.                 </executions>
  141.  
  142.             </plugin>
  143.             <plugin>
  144.                 <artifactId>maven-assembly-plugin</artifactId>
  145.                 <version>2.3</version>
  146.                 <configuration>
  147.                     <descriptors>
  148.                         <descriptor>src/assembly/src.xml</descriptor>
  149.                     </descriptors>
  150.                     <tarLongFileMode>gnu</tarLongFileMode>
  151.                 </configuration>
  152.             </plugin>
  153.         </plugins>
  154.     </build>
  155.     <reporting>
  156.         <plugins>
  157.             <plugin>
  158.                 <groupId>org.apache.maven.plugins</groupId>
  159.                 <artifactId>maven-project-info-reports-plugin</artifactId>
  160.                 <version>2.4</version>
  161.                 <configuration>
  162.                 </configuration>
  163.                 <reportSets>
  164.                     <reportSet>
  165.                         <reports>
  166.                            <report>dependencies</report>
  167.                            <report>issue-tracking</report>
  168.                            <report>mailing-list</report>
  169.                            <report>license</report>
  170.                            <report>project-team</report>
  171.                            <report>scm</report>
  172.                         </reports>
  173.                     </reportSet>
  174.                 </reportSets>
  175.             </plugin>
  176.  
  177.             <!-- exclude surefire report -->
  178.             <plugin>
  179.                 <groupId>org.apache.maven.plugins</groupId>
  180.                 <artifactId>maven-surefire-report-plugin</artifactId>
  181.                 <reportSets><reportSet /></reportSets>
  182.             </plugin>
  183.  
  184.             <!-- exclude jdepend report -->
  185.             <plugin>
  186.                 <groupId>org.codehaus.mojo</groupId>
  187.                 <artifactId>jdepend-maven-plugin</artifactId>
  188.                 <reportSets><reportSet /></reportSets>
  189.             </plugin>
  190.         </plugins>
  191.     </reporting>
  192.     <properties>
  193.         <maven.compile.source />
  194.         <maven.compile.target />
  195.         <commons.manifestfile />
  196.         <commons.jira.id>COMMONSSITE</commons.jira.id>
  197.         <commons.jira.pid>12310466&amp;amp;component=12312401</commons.jira.pid>
  198.         <commons.release.version>1.4</commons.release.version>
  199.         <commons.rc.version>RC1</commons.rc.version>
  200.     </properties>
  201. </project>
Advertisement
Add Comment
Please, Sign In to add comment