| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you under the Apache License, Version 2.0 (the |
| ~ "License"); you may not use this file except in compliance |
| ~ with the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, |
| ~ software distributed under the License is distributed on an |
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~ KIND, either express or implied. See the License for the |
| ~ specific language governing permissions and limitations |
| ~ under the License. |
| --> |
| |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-parent</artifactId> |
| <version>12</version> |
| </parent> |
| |
| <artifactId>maven-ant-tasks</artifactId> |
| <version>2.0.10</version> |
| |
| <name>Maven Ant Tasks</name> |
| <url>http://maven.apache.org/ant-tasks/</url> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/maven/ant-tasks/tags/maven-ant-tasks-2.0.10</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/ant-tasks/tags/maven-ant-tasks-2.0.10</developerConnection> |
| <url>http://svn.apache.org/viewvc/maven/ant-tasks/tags/maven-ant-tasks-2.0.10</url> |
| </scm> |
| <issueManagement> |
| <system>jira</system> |
| <url>http://jira.codehaus.org/browse/MANTTASKS</url> |
| </issueManagement> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scp://people.apache.org/www/maven.apache.org/ant-tasks/</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <mavenVersion>2.0.10</mavenVersion> |
| <wagonVersion>1.0-beta-2</wagonVersion> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.6.2</version> |
| </dependency> |
| <dependency> |
| <groupId>classworlds</groupId> |
| <artifactId>classworlds</artifactId> |
| <version>1.1-alpha-2</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| <version>1.0-alpha-9-stable-1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>1.5.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact-manager</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-model</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-project</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-error-diagnostics</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-settings</artifactId> |
| <version>${mavenVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-file</artifactId> |
| <version>${wagonVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-http-lightweight</artifactId> |
| <version>${wagonVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-provider-api</artifactId> |
| <version>${wagonVersion}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <tagBase>https://svn.apache.org/repos/asf/maven/ant-tasks/tags</tagBase> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" /> |
| </transformers> |
| <artifactSet> |
| <excludes> |
| <exclude>junit:junit</exclude> |
| <exclude>jtidy:jtidy</exclude> |
| <exclude>xml-apis:xml-apis</exclude> |
| <exclude>ant:ant</exclude> |
| </excludes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>org.codehaus.plexus.util</pattern> |
| <shadedPattern>org.apache.maven.artifact.ant.shaded</shadedPattern> |
| <excludes> |
| <exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude> |
| <exclude>org.codehaus.plexus.util.xml.pull.*</exclude> |
| </excludes> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>reporting</id> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>clirr-maven-plugin</artifactId> |
| <configuration> |
| <comparisonVersion>2.0.9</comparisonVersion> |
| <includes> |
| <include>org/apache/maven/*</include> |
| </includes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| </profile> |
| |
| <profile> |
| <id>run-its</id> |
| <activation> |
| <property> |
| <name>maven.test.skip</name> |
| <value>!true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <version>1.3</version> |
| <configuration> |
| <projectsDirectory>src/it</projectsDirectory> |
| <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> |
| <pomIncludes> |
| <pomInclude>*/pom.xml</pomInclude> |
| </pomIncludes> |
| <postBuildHookScript>verify.bsh</postBuildHookScript> |
| <settingsFile>src/it/settings.xml</settingsFile> |
| <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| <debug>true</debug> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>install</goal> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>apache-release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-3</version> |
| <executions> |
| <execution> |
| <id>attach-src-dist</id> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <descriptors> |
| <descriptor>src/assembly/src.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |