From 5a99a71bcb942ae3a57bc10b1c746d6becdaa1ac Mon Sep 17 00:00:00 2001 From: Kenney Westerhof Date: Tue, 2 Aug 2005 15:16:39 +0000 Subject: [PATCH] Fixes MNG-514: ScopeArtifactFilter will also include PROVIDED artifacts when resolving for TEST. They are enabled for dependency resolution, but NOT added to any classloader. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227022 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/artifact/resolver/filter/ScopeArtifactFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java b/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java index eb9a7b47d1..3214f0ef59 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java @@ -54,7 +54,7 @@ public class ScopeArtifactFilter } else if ( DefaultArtifact.SCOPE_TEST.equals( scope ) ) { - providedScope = false; + providedScope = true; compileScope = true; runtimeScope = true; testScope = true;