From 52bd946dac234524a4982f88a05981944275598e Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Thu, 10 Nov 2005 16:04:56 +0000 Subject: [PATCH] Fixing CI process. Children of system scoped deps were not being excluded properly...I had marked it to exclude the system scoped dep as well. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@332317 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/artifact/resolver/DefaultArtifactCollector.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java b/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java index 3daff677e6..327afca830 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java @@ -216,7 +216,8 @@ public class DefaultArtifactCollector fireEvent( ResolutionListener.INCLUDE_ARTIFACT, listeners, node ); - if ( node.isActive() ) + // don't pull in the transitive deps of a system-scoped dependency. + if ( node.isActive() && !Artifact.SCOPE_SYSTEM.equals( node.getArtifact().getScope() ) ) { fireEvent( ResolutionListener.PROCESS_CHILDREN, listeners, node );