blob: 566a8bf406492995a47ef3d7ea3d53f2a00341f8 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010, 2014 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>
<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>
<mailingList>
<name>Aether Commit Notification List</name>
<subscribe>https://dev.eclipse.org/mailman/listinfo/aether-commit</subscribe>
<unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-commit</unsubscribe>
<archive>http://dev.eclipse.org/mhonarc/lists/aether-commit/</archive>
</mailingList>
<mailingList>
<name>Aether CI Notification List</name>
<subscribe>https://dev.eclipse.org/mailman/listinfo/aether-build</subscribe>
<unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-build</unsubscribe>
<archive>http://dev.eclipse.org/mhonarc/lists/aether-build/</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;bug_status=__open__&amp;product=Aether</url>
</issueManagement>
<ciManagement>
<system>Hudson</system>
<url>https://builds.sonatype.org/job/aether-ant-nightly</url>
</ciManagement>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>${sonatypeOssDistMgmtSnapshotsId}</id>
<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
</snapshotRepository>
</distributionManagement>
<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>
<developers>
<developer>
<id>bbentmann</id>
<name>Benjamin Bentmann</name>
<roles>
<role>Project Lead</role>
</roles>
</developer>
<developer>
<id>jvanzyl</id>
<name>Jason Van Zyl</name>
<roles>
<role>Project Lead</role>
</roles>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
<sonatypeOssDistMgmtSnapshotsId>sonatype-nexus-snapshots</sonatypeOssDistMgmtSnapshotsId>
<sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
<mavenVersion>3.1.0</mavenVersion>
<aetherVersion>0.9.0.M4</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-basic</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-transport-classpath</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-transport-file</artifactId>
<version>${aetherVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-transport-http</artifactId>
<version>${aetherVersion}</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-aether-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>
<version>1.5.5</version>
<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.eclipse.aether</groupId>
<artifactId>aether-test-util</artifactId>
<version>${aetherVersion}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<!-- NOTE: Avoiding 2.4+ due to https://github.com/sonatype/m2eclipse-extras/issues/10 -->
<version>2.3.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<detectOfflineLinks>false</detectOfflineLinks>
<links>
<link>http://java.sun.com/javase/6/docs/api/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
<goals>deploy assembly:attached</goals>
<arguments>-Psonatype-oss-release</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</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>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<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.eclipse.sisu</include>
<!-- CQ #5627 -->
<include>org.slf4j:slf4j-api:1.6.2</include>
<!-- CQ #5642 -->
<include>org.slf4j:slf4j-nop:1.6.2</include>
<!-- CQ #7347 -->
<include>org.slf4j:jcl-over-slf4j:1.6.2</include>
<!-- CQ #5643 -->
<include>org.apache.ant:ant:1.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 #7208 -->
<include>org.codehaus.plexus:plexus-interpolation:1.16</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 #7438 -->
<include>org.apache.maven:maven-model:3.1.0</include>
<!-- CQ #7439 -->
<include>org.apache.maven:maven-model-builder:3.1.0</include>
<!-- CQ #7440 -->
<include>org.apache.maven:maven-settings:3.1.0</include>
<!-- CQ #7441 -->
<include>org.apache.maven:maven-settings-builder:3.1.0</include>
<!-- CQ #7442 -->
<include>org.apache.maven:maven-repository-metadata:3.1.0</include>
<!-- CQ #7443 -->
<include>org.apache.maven:maven-aether-provider:3.1.0</include>
<!-- CQ #7344 -->
<include>org.apache.httpcomponents:httpclient:4.2.5</include>
<!-- CQ #7345 -->
<include>org.apache.httpcomponents:httpcore:4.2.4</include>
<!-- CQ #7346 -->
<include>commons-codec:commons-codec:1.6</include>
<!-- CQ #5653, 7538 -->
<include>org.apache.ant:ant-launcher:1.8.2:*:test</include>
<include>org.apache.ant:ant-testutil:1.8.2:*:test</include>
<include>junit:junit:4.11:*:test</include>
<include>org.hamcrest:hamcrest-core:1.3:*:test</include>
<include>org.hamcrest:hamcrest-library:1.3:*: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.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.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</pattern>
<shadedPattern>org.eclipse.aether.ant.org.apache</shadedPattern>
<excludes>
<exclude>org.apache.tools.**</exclude>
<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.slf4j</pattern>
<shadedPattern>org.eclipse.aether.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>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createSourcesJar>true</createSourcesJar>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.apache.resources</groupId>
<artifactId>apache-source-release-assembly-descriptor</artifactId>
<version>1.0.2</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>attach-source-release-distro</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
<descriptorRefs>
<descriptorRef>source-release</descriptorRef>
</descriptorRefs>
<tarLongFileFormat>gnu</tarLongFileFormat>
</configuration>
</execution>
<execution>
<id>default-cli</id>
<configuration>
<attach>false</attach>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>snapshot-sources</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>