blob: 1d6265f72fc3125f2031b35e3f3642d14a2c28f7 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010, 2011 Sonatype, Inc.
~ All rights reserved. This program and the accompanying materials
~ are made available under the terms of the Eclipse Public License v1.0
~ which accompanies this distribution, and is available at
~ http://www.eclipse.org/legal/epl-v10.html
~
~ Contributors:
~ Sonatype, Inc. - initial API and implementation
-->
<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.sonatype.forge</groupId>
<artifactId>forge-parent</artifactId>
<version>10</version>
</parent>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-ant-tasks</artifactId>
<version>0.9.0-SNAPSHOT</version>
<name>Aether Ant Tasks</name>
<description>
Ant tasks handling Maven artifacts using Aether.
</description>
<url>http://www.eclipse.org/aether/</url>
<inceptionYear>2010</inceptionYear>
<organization>
<name>The Eclipse Foundation</name>
<url>http://www.eclipse.org/</url>
</organization>
<mailingLists>
<mailingList>
<name>Aether Developer List</name>
<subscribe>https://dev.eclipse.org/mailman/listinfo/aether-dev</subscribe>
<unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-dev</unsubscribe>
<post>aether-dev@eclipse.org</post>
<archive>http://dev.eclipse.org/mhonarc/lists/aether-dev/</archive>
</mailingList>
<mailingList>
<name>Aether User List</name>
<subscribe>https://dev.eclipse.org/mailman/listinfo/aether-users</subscribe>
<unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-users</unsubscribe>
<post>aether-users@eclipse.org</post>
<archive>http://dev.eclipse.org/mhonarc/lists/aether-users/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:git://git.eclipse.org/gitroot/aether/aether-ant.git</connection>
<developerConnection>scm:git:ssh://git.eclipse.org/gitroot/aether/aether-ant.git</developerConnection>
<url>http://git.eclipse.org/c/aether/aether-ant.git/</url>
</scm>
<issueManagement>
<system>bugzilla</system>
<url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=specific&amp;order=relevance+desc&amp;bug_status=__open__&amp;product=Aether</url>
</issueManagement>
<ciManagement>
<system>Hudson</system>
<url>https://builds.sonatype.org/job/aether-ant-tasks</url>
</ciManagement>
<licenses>
<license>
<name>Eclipse Public License, Version 1.0</name>
<url>http://www.eclipse.org/legal/epl-v10.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
<!--
the ant tasks currently only build with a maven actually using the org.eclipse packages:
https://github.com/bentmann/maven-3
-->
<mavenVersion>3.0.3</mavenVersion>
<aetherVersion>0.9.0-SNAPSHOT</aetherVersion>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>2.1</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.eclipse.aether</groupId>
<artifactId>aether-api</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-util</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-impl</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-connector-file</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-connector-asynchttpclient</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<!-- This shuts off annoying warnings from ahc's logging -->
<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-aether-provider</artifactId>
<version>${mavenVersion}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-annotations</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>
<version>1.5.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-interpolation</artifactId>
<version>1.14</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-plexus</artifactId>
<version>2.3.0</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-classworlds</artifactId>
</exclusion>
<exclusion>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-bean</artifactId>
</exclusion>
<exclusion>
<groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-plexus-shim</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<version>1.8.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
</exclusions>
</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.RC2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3.RC2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-test-util</artifactId>
<version>${aetherVersion}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<id>approved-dependencies</id>
<phase>verify</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<searchTransitive>true</searchTransitive>
<excludes>
<exclude>*:*</exclude>
</excludes>
<includes>
<include>org.eclipse.aether</include>
<include>org.sonatype.aether</include>
<!-- CQ #5627 -->
<include>org.slf4j:slf4j-api:1.6.2</include>
<!-- CQ #5642 -->
<include>org.slf4j:slf4j-nop:1.6.2</include>
<!-- CQ #5643 -->
<include>org.apache.ant:ant:1.8.2</include>
<!-- CQ #5628 -->
<include>junit:junit-dep:4.8.2</include>
<!-- CQ #5629 -->
<include>org.codehaus.plexus:plexus-component-annotations:1.5.5</include>
<!-- CQ #5630 -->
<include>org.codehaus.plexus:plexus-utils:2.1</include>
<!-- CQ #5644 -->
<include>org.codehaus.plexus:plexus-interpolation:1.14</include>
<!-- CQ #5633 -->
<include>com.ning:async-http-client:1.6.5</include>
<!-- CQ #5634 -->
<include>org.jboss.netty:netty:3.2.5.Final</include>
<!-- CQ #5635 -->
<include>org.sonatype.sisu:sisu-inject-plexus:2.3.0</include>
<!-- CQ #5645 -->
<include>org.sonatype.plexus:plexus-sec-dispatcher:1.3</include>
<!-- CQ #5646 -->
<include>org.sonatype.plexus:plexus-cipher:1.7</include>
<!-- CQ #5648 -->
<include>org.apache.maven:maven-model:3.0.3</include>
<!-- CQ #5647 -->
<include>org.apache.maven:maven-model-builder:3.0.3</include>
<!-- CQ #5650 -->
<include>org.apache.maven:maven-settings:3.0.3</include>
<!-- CQ #5649 -->
<include>org.apache.maven:maven-settings-builder:3.0.3</include>
<!-- CQ #5651 -->
<include>org.apache.maven:maven-repository-metadata:3.0.3</include>
<!-- CQ #5652 -->
<include>org.apache.maven:maven-aether-provider:3.0.3</include>
<!-- CQ #5653 -->
<include>org.apache.ant:ant-launcher:1.8.2:*:test</include>
<include>org.apache.ant:ant-testutil:1.8.2:*:test</include>
<include>org.hamcrest:*:*:*:test</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>1.4</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.sonatype.sisu:sisu-inject-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.eclipse.aether.ant.org.eclipse.aether</shadedPattern>
<excludes>
<exclude>org.eclipse.aether.ant.**</exclude>
</excludes>
</relocation>
<relocation>
<pattern>org.sonatype.plexus</pattern>
<shadedPattern>org.eclipse.aether.ant.org.sonatype.plexus</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.maven</pattern>
<shadedPattern>org.eclipse.aether.ant.org.apache.maven</shadedPattern>
<excludes>
<exclude>org.apache.maven.model.pom-*</exclude>
</excludes>
</relocation>
<relocation>
<pattern>org.codehaus</pattern>
<shadedPattern>org.eclipse.aether.ant.org.codehaus</shadedPattern>
</relocation>
<relocation>
<pattern>org.jboss</pattern>
<shadedPattern>org.eclipse.aether.ant.org.jboss</shadedPattern>
</relocation>
<relocation>
<pattern>org.slf4j</pattern>
<shadedPattern>org.eclipse.aether.ant.org.slf4j</shadedPattern>
</relocation>
<relocation>
<pattern>com.ning</pattern>
<shadedPattern>org.eclipse.aether.ant.com.ning</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version>
<configuration>
<links>
<link>http://java.sun.com/javase/6/docs/api/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<argLine>-Xmx128m</argLine>
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}/surefire-tmp</java.io.tmpdir>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.6</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java15</artifactId>
<version>1.0</version>
</signature>
</configuration>
<executions>
<execution>
<id>check-java-1.5-compat</id>
<phase>process-classes</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>check-api-compat</id>
<phase>verify</phase>
<goals>
<goal>check-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
<version>1.5.5</version>
<executions>
<execution>
<id>generate-components-xml</id>
<goals>
<goal>generate-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</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>