| <?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>30</version> |
| </parent> |
| |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-ant-tasks</artifactId> |
| <version>1.1.0-SNAPSHOT</version> |
| |
| <name>Maven Artifact Resolver Ant Tasks</name> |
| <description> |
| Ant tasks handling Maven artifacts using Maven Artifact Resolver and Maven Artifact Resolver Provider. |
| </description> |
| <url>https://maven.apache.org/resolver-ant-tasks/</url> |
| <inceptionYear>2010</inceptionYear> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-resolver-ant-tasks.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-resolver-ant-tasks.git</developerConnection> |
| <url>https://github.com/apache/maven-resolver-ant-tasks/</url> |
| <tag>HEAD</tag> |
| </scm> |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/MRESOLVER</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://builds.apache.org/job/maven-resolver-ant-tasks</url> |
| </ciManagement> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/components/${maven.site.path}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <mavenVersion>3.5.0</mavenVersion> |
| <resolverVersion>1.1.0</resolverVersion> |
| <javaVersion>7</javaVersion> |
| <maven.site.path>resolver-archives/resolver-ant-tasks-LATEST</maven.site.path> |
| <checkstyle.violation.ignore>LineLength,MagicNumber</checkstyle.violation.ignore> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.0.24</version> |
| </dependency> |
| <dependency> |
| <groupId>org.sonatype.plexus</groupId> |
| <artifactId>plexus-cipher</artifactId> |
| <version>1.7</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <!-- NOTE: The target runtime is actually Ant 1.7+ but for compilation we need some newer APIs --> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.8.2</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-launcher</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-api</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-util</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-impl</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-connector-basic</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-classpath</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-file</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-http</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <dependency> |
| <!-- This shuts off annoying warnings from slf4j-api --> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-nop</artifactId> |
| <version>1.6.2</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-resolver-provider</artifactId> |
| <version>${mavenVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-annotations</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.sisu</groupId> |
| <artifactId>org.eclipse.sisu.plexus</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-settings-builder</artifactId> |
| <version>${mavenVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-annotations</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-interpolation</artifactId> |
| <version>1.16</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.sisu</groupId> |
| <artifactId>org.eclipse.sisu.plexus</artifactId> |
| <version>0.1.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.enterprise</groupId> |
| <artifactId>cdi-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-classworlds</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.sisu</groupId> |
| <artifactId>org.eclipse.sisu.inject</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.sonatype.sisu</groupId> |
| <artifactId>sisu-guice</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-testutil</artifactId> |
| <version>1.8.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-launcher</artifactId> |
| <version>1.8.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-core</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-test-util</artifactId> |
| <version>${resolverVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <exclude>src/test/resources/**/*.txt</exclude> |
| <exclude>README.md</exclude> |
| <exclude>src/site/markdown/**/*.md.vm</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.4.3</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>uber</shadedClassifierName> |
| <filters> |
| <filter> |
| <artifact>org.eclipse.sisu:org.eclipse.sisu.plexus</artifact> |
| <includes> |
| <include>org/codehaus/plexus/logging/*LogEnabled*</include> |
| <include>org/codehaus/plexus/logging/Logger*</include> |
| </includes> |
| </filter> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>licenses/**</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" /> |
| </transformers> |
| <relocations> |
| <relocation> |
| <pattern>org.eclipse.aether</pattern> |
| <shadedPattern>org.apache.maven.resolver.internal.ant.org.eclipse.aether</shadedPattern> |
| <excludes> |
| <exclude>org.eclipse.aether.ant.**</exclude> |
| </excludes> |
| </relocation> |
| <relocation> |
| <pattern>org.sonatype.plexus</pattern> |
| <shadedPattern>org.apache.maven.resolver.internal.ant.org.sonatype.plexus</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache</pattern> |
| <shadedPattern>org.apache.maven.resolver.internal.ant.org.apache</shadedPattern> |
| <excludes> |
| <exclude>org.apache.tools.**</exclude> |
| <exclude>org.apache.maven.aether.**</exclude> |
| </excludes> |
| </relocation> |
| <relocation> |
| <pattern>org.codehaus</pattern> |
| <shadedPattern>org.apache.maven.resolver.internal.ant.org.codehaus</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.slf4j</pattern> |
| <shadedPattern>org.apache.maven.resolver.internal.ant.org.slf4j</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>run-its</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>smoke-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <ant antfile="build.xml" /> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-junit</artifactId> |
| <version>1.8.2</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |