From f2653b0cb71abe38beb06bbed05d446deb6faed6 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Wed, 22 Jun 2005 18:08:21 +0000 Subject: [PATCH] - fix ant tasks - disable cycle detection (warn instead) - show version in dep trail git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@192966 13f79535-47bb-0310-9956-ffa450edef68 --- maven-artifact-ant/sample.build.xml | 38 ++++++++-------- maven-artifact-ant/src/main/assembly/dep.xml | 2 - .../resources/META-INF/plexus/components.xml | 43 +++++++++++-------- maven-artifact-manager/pom.xml | 2 +- .../artifact/manager/DefaultWagonManager.java | 2 +- .../DefaultArtifactRepositoryFactory.java | 18 ++++---- .../resolver/DebugResolutionListener.java | 5 +++ .../repository/ArtifactRepository.java | 2 + .../resolver/CyclicDependencyException.java | 8 ++++ .../resolver/DefaultArtifactCollector.java | 26 +++++++++-- .../artifact/resolver/ResolutionListener.java | 4 ++ .../DefaultArtifactCollectorTest.java | 6 ++- 12 files changed, 99 insertions(+), 57 deletions(-) diff --git a/maven-artifact-ant/sample.build.xml b/maven-artifact-ant/sample.build.xml index d8f9d56ac9..c0606ba3b5 100644 --- a/maven-artifact-ant/sample.build.xml +++ b/maven-artifact-ant/sample.build.xml @@ -1,5 +1,5 @@ - - - - - + + - + @@ -49,22 +45,22 @@ - + - + - + - + @@ -85,21 +81,21 @@ - + - + - + - + - + @@ -113,14 +109,14 @@ - + - + - + @@ -134,7 +130,7 @@ - + diff --git a/maven-artifact-ant/src/main/assembly/dep.xml b/maven-artifact-ant/src/main/assembly/dep.xml index 40a629e4d8..15f9e20b7c 100644 --- a/maven-artifact-ant/src/main/assembly/dep.xml +++ b/maven-artifact-ant/src/main/assembly/dep.xml @@ -19,8 +19,6 @@ runtime ant:ant - - junit:junit diff --git a/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml b/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml index 1365b7f53d..d9f0456359 100644 --- a/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml +++ b/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml @@ -2,7 +2,7 @@ -