Home | History | Annotate | Download | only in lib
      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   <parent>
     26     <groupId>org.apache.maven</groupId>
     27     <artifactId>maven-parent</artifactId>
     28     <version>19</version>
     29   </parent>
     30 
     31   <groupId>org.apache.maven</groupId>
     32   <artifactId>maven-ant-tasks</artifactId>
     33   <version>2.1.3</version>
     34 
     35   <name>Maven Ant Tasks</name>
     36   <description>Ant Tasks used for Maven integration</description>
     37   <url>http://maven.apache.org/ant-tasks/</url>
     38 
     39   <mailingLists>
     40     <mailingList>
     41       <name>Maven User List</name>
     42       <subscribe>users-subscribe (a] maven.apache.org</subscribe>
     43       <unsubscribe>users-unsubscribe (a] maven.apache.org</unsubscribe>
     44       <post>users (a] maven.apache.org</post>
     45       <archive>http://mail-archives.apache.org/mod_mbox/maven-users</archive>
     46       <otherArchives>
     47         <otherArchive>http://www.mail-archive.com/users@maven.apache.org/</otherArchive>
     48         <otherArchive>http://old.nabble.com/Maven---Users-f178.html</otherArchive>
     49         <otherArchive>http://maven.users.markmail.org/</otherArchive>
     50       </otherArchives>
     51     </mailingList>
     52     <mailingList>
     53       <name>Maven Developer List</name>
     54       <subscribe>dev-subscribe (a] maven.apache.org</subscribe>
     55       <unsubscribe>dev-unsubscribe (a] maven.apache.org</unsubscribe>
     56       <post>dev (a] maven.apache.org</post>
     57       <archive>http://mail-archives.apache.org/mod_mbox/maven-dev</archive>
     58       <otherArchives>
     59         <otherArchive>http://www.mail-archive.com/dev@maven.apache.org/</otherArchive>
     60         <otherArchive>http://old.nabble.com/Maven-Developers-f179.html</otherArchive>
     61         <otherArchive>http://maven.dev.markmail.org/</otherArchive>
     62       </otherArchives>
     63     </mailingList>
     64     <mailingList>
     65       <name>Maven Issues List</name>
     66       <subscribe>issues-subscribe (a] maven.apache.org</subscribe>
     67       <unsubscribe>issues-unsubscribe (a] maven.apache.org</unsubscribe>
     68       <archive>http://mail-archives.apache.org/mod_mbox/maven-issues/</archive>
     69       <otherArchives>
     70         <otherArchive>http://www.mail-archive.com/issues@maven.apache.org</otherArchive>
     71         <otherArchive>http://old.nabble.com/Maven---Issues-f15573.html</otherArchive>
     72         <otherArchive>http://maven.issues.markmail.org/</otherArchive>
     73       </otherArchives>
     74     </mailingList>
     75     <mailingList>
     76       <name>Maven Commits List</name>
     77       <subscribe>commits-subscribe (a] maven.apache.org</subscribe>
     78       <unsubscribe>commits-unsubscribe (a] maven.apache.org</unsubscribe>
     79       <archive>http://mail-archives.apache.org/mod_mbox/maven-dev</archive>
     80       <otherArchives>
     81         <otherArchive>http://www.mail-archive.com/commits@maven.apache.org</otherArchive>
     82         <otherArchive>http://old.nabble.com/Maven---Commits-f15575.html</otherArchive>
     83         <otherArchive>http://maven.commits.markmail.org/</otherArchive>
     84       </otherArchives>
     85     </mailingList>
     86     <!-- duplication from parent pom - temporary until they inherit properly -->
     87     <mailingList>
     88       <name>Maven Announcements List</name>
     89       <post>announce (a] maven.apache.org</post>
     90       <subscribe>announce-subscribe (a] maven.apache.org</subscribe>
     91       <unsubscribe>announce-unsubscribe (a] maven.apache.org</unsubscribe>
     92       <archive>http://mail-archives.apache.org/mod_mbox/maven-announce/</archive>
     93       <otherArchives>
     94         <otherArchive>http://www.mail-archive.com/announce@maven.apache.org</otherArchive>
     95         <otherArchive>http://old.nabble.com/Maven-Announcements-f15617.html</otherArchive>
     96         <otherArchive>http://maven.announce.markmail.org/</otherArchive>
     97       </otherArchives>
     98     </mailingList>
     99     <mailingList>
    100       <name>Maven Notifications List</name>
    101       <subscribe>notifications-subscribe (a] maven.apache.org</subscribe>
    102       <unsubscribe>notifications-unsubscribe (a] maven.apache.org</unsubscribe>
    103       <archive>http://mail-archives.apache.org/mod_mbox/maven-notifications/</archive>
    104       <otherArchives>
    105         <otherArchive>http://www.mail-archive.com/notifications@maven.apache.org</otherArchive>
    106         <otherArchive>http://old.nabble.com/Maven---Notifications-f15574.html</otherArchive>
    107         <otherArchive>http://maven.notifications.markmail.org/</otherArchive>
    108       </otherArchives>
    109     </mailingList>
    110   </mailingLists>
    111 
    112   <scm>
    113     <connection>scm:svn:http://svn.apache.org/repos/asf/maven/ant-tasks/tags/maven-ant-tasks-2.1.3</connection>
    114     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/ant-tasks/tags/maven-ant-tasks-2.1.3</developerConnection>
    115     <url>http://svn.apache.org/viewvc/maven/ant-tasks/tags/maven-ant-tasks-2.1.3</url>
    116   </scm>
    117 
    118   <issueManagement>
    119     <system>jira</system>
    120     <url>http://jira.codehaus.org/browse/MANTTASKS</url>
    121   </issueManagement>
    122 
    123   <distributionManagement>
    124     <site>
    125       <id>apache.website</id>
    126       <url>scp://people.apache.org/www/maven.apache.org/ant-tasks/</url>
    127     </site>
    128   </distributionManagement>
    129 
    130   <properties>
    131     <mavenVersion>2.2.1</mavenVersion>
    132     <wagonVersion>1.0-beta-6</wagonVersion>
    133   </properties>
    134 
    135   <dependencies>
    136     <dependency>
    137       <groupId>org.apache.ant</groupId>
    138       <artifactId>ant</artifactId>
    139       <version>1.8.0</version>
    140     </dependency>
    141     <dependency>
    142       <groupId>classworlds</groupId>
    143       <artifactId>classworlds</artifactId>
    144       <version>1.1-alpha-2</version>
    145     </dependency>
    146     <dependency>
    147       <groupId>junit</groupId>
    148       <artifactId>junit</artifactId>
    149       <version>3.8.1</version>
    150       <scope>test</scope>
    151     </dependency>
    152     <dependency>
    153       <groupId>org.codehaus.plexus</groupId>
    154       <artifactId>plexus-container-default</artifactId>
    155       <version>1.0-alpha-9-stable-1</version>
    156       <exclusions>
    157         <exclusion>
    158           <groupId>junit</groupId>
    159           <artifactId>junit</artifactId>
    160         </exclusion>
    161       </exclusions>
    162     </dependency>
    163     <dependency>
    164       <groupId>org.codehaus.plexus</groupId>
    165       <artifactId>plexus-utils</artifactId>
    166       <version>1.5.15</version>
    167     </dependency>
    168     <dependency>
    169       <groupId>org.codehaus.plexus</groupId>
    170       <artifactId>plexus-interpolation</artifactId>
    171       <version>1.11</version>
    172     </dependency>
    173     <dependency>
    174       <groupId>org.apache.maven</groupId>
    175       <artifactId>maven-artifact</artifactId>
    176       <version>${mavenVersion}</version>
    177     </dependency>
    178     <dependency>
    179       <groupId>org.apache.maven</groupId>
    180       <artifactId>maven-artifact-manager</artifactId>
    181       <version>${mavenVersion}</version>
    182     </dependency>
    183     <dependency>
    184       <groupId>org.apache.maven</groupId>
    185       <artifactId>maven-model</artifactId>
    186       <version>${mavenVersion}</version>
    187     </dependency>
    188     <dependency>
    189       <groupId>org.apache.maven</groupId>
    190       <artifactId>maven-project</artifactId>
    191       <version>${mavenVersion}</version>
    192     </dependency>
    193     <dependency>
    194       <groupId>org.apache.maven</groupId>
    195       <artifactId>maven-error-diagnostics</artifactId>
    196       <version>${mavenVersion}</version>
    197     </dependency>
    198     <dependency>
    199       <groupId>org.apache.maven</groupId>
    200       <artifactId>maven-settings</artifactId>
    201       <version>${mavenVersion}</version>
    202     </dependency>
    203     <dependency>
    204       <groupId>org.apache.maven.wagon</groupId>
    205       <artifactId>wagon-file</artifactId>
    206       <version>${wagonVersion}</version>
    207     </dependency>
    208     <dependency>
    209       <groupId>org.apache.maven.wagon</groupId>
    210       <artifactId>wagon-http-lightweight</artifactId>
    211       <version>${wagonVersion}</version>
    212     </dependency>
    213     <dependency>
    214       <groupId>org.apache.maven.wagon</groupId>
    215       <artifactId>wagon-provider-api</artifactId>
    216       <version>${wagonVersion}</version>
    217     </dependency>
    218   </dependencies>
    219 
    220   <build>
    221     <pluginManagement>
    222       <plugins>
    223         <plugin>
    224           <artifactId>maven-compiler-plugin</artifactId>
    225           <configuration>
    226             <source>1.5</source>
    227             <target>1.5</target>
    228           </configuration>
    229         </plugin>
    230         <plugin>
    231           <artifactId>maven-shade-plugin</artifactId>
    232           <version>1.4</version>
    233         </plugin>
    234         <plugin>
    235           <groupId>org.apache.maven.plugins</groupId>
    236           <artifactId>maven-release-plugin</artifactId>
    237           <configuration>
    238             <tagBase>https://svn.apache.org/repos/asf/maven/ant-tasks/tags</tagBase>
    239           </configuration>
    240         </plugin>
    241       </plugins>
    242     </pluginManagement>
    243     <plugins>
    244       <plugin>
    245         <groupId>org.apache.maven.plugins</groupId>
    246         <artifactId>maven-shade-plugin</artifactId>
    247         <executions>
    248           <execution>
    249             <phase>package</phase>
    250             <goals>
    251               <goal>shade</goal>
    252             </goals>
    253             <configuration>
    254               <createDependencyReducedPom>false</createDependencyReducedPom>
    255               <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
    256               <transformers>
    257                 <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" />
    258               </transformers>
    259               <artifactSet>
    260                 <excludes>
    261                   <exclude>junit:junit</exclude>
    262                   <exclude>jtidy:jtidy</exclude>
    263                   <exclude>xml-apis:xml-apis</exclude>
    264                   <exclude>org.apache.ant:ant</exclude>
    265                   <exclude>org.apache.ant:ant-launcher</exclude>
    266                   <exclude>backport-util-concurrent:backport-util-concurrent</exclude>
    267                 </excludes>
    268               </artifactSet>
    269               <relocations>
    270                 <relocation>
    271                   <pattern>org.codehaus.plexus.util</pattern>
    272                   <shadedPattern>org.apache.maven.artifact.ant.shaded</shadedPattern>
    273                   <excludes>
    274                     <exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
    275                     <exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
    276                   </excludes>
    277                 </relocation>
    278                 <relocation>
    279                   <pattern>edu.emory.mathcs.backport.java.util.concurrent</pattern>
    280                   <shadedPattern>java.util.concurrent</shadedPattern>
    281                 </relocation>
    282               </relocations>
    283             </configuration>
    284           </execution>
    285         </executions>
    286       </plugin>
    287     </plugins>
    288   </build>
    289 
    290   <profiles>
    291     <profile>
    292       <id>reporting</id>
    293       <reporting>
    294         <plugins>
    295           <plugin>
    296             <groupId>org.codehaus.mojo</groupId>
    297             <artifactId>clirr-maven-plugin</artifactId>
    298             <configuration>
    299               <comparisonVersion>2.0.9</comparisonVersion>
    300               <includes>
    301                 <include>org/apache/maven/*</include>
    302               </includes>
    303             </configuration>
    304           </plugin>
    305         </plugins>
    306       </reporting>
    307     </profile>
    308     <profile>
    309       <id>run-its</id>
    310       <activation>
    311         <property>
    312           <name>maven.test.skip</name>
    313           <value>!true</value>
    314         </property>
    315       </activation>
    316       <build>
    317         <plugins>
    318           <plugin>
    319             <groupId>org.apache.maven.plugins</groupId>
    320             <artifactId>maven-invoker-plugin</artifactId>
    321             <version>1.5</version>
    322             <configuration>
    323               <projectsDirectory>src/it</projectsDirectory>
    324               <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
    325               <pomIncludes>
    326                 <pomInclude>*/pom.xml</pomInclude>
    327               </pomIncludes>
    328               <postBuildHookScript>verify.bsh</postBuildHookScript>
    329               <settingsFile>src/it/settings.xml</settingsFile>
    330               <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
    331               <debug>true</debug>
    332             </configuration>
    333             <executions>
    334               <execution>
    335                 <id>integration-test</id>
    336                 <goals>
    337                   <goal>install</goal>
    338                   <goal>run</goal>
    339                 </goals>
    340               </execution>
    341             </executions>
    342           </plugin>
    343         </plugins>
    344       </build>
    345     </profile>
    346   </profiles>
    347 
    348 </project>
    349