You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2013/09/15 03:05:45 UTC

[5/5] git commit: We must also filter out the old Aether as well to prevent NoClassDefFoundErrors

We must also filter out the old Aether as well to prevent NoClassDefFoundErrors


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/0194cd61
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/0194cd61
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/0194cd61

Branch: refs/heads/master
Commit: 0194cd61c8327caabd56adeea9de01c05b735ff6
Parents: 6125acf
Author: Jason van Zyl <ja...@tesla.io>
Authored: Sat Sep 14 21:02:05 2013 -0400
Committer: Jason van Zyl <ja...@tesla.io>
Committed: Sat Sep 14 21:02:05 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/maven/DefaultArtifactFilterManager.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/0194cd61/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
----------------------------------------------------------------------
diff --git a/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java b/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
index 4c6500b..da88508 100644
--- a/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
+++ b/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
@@ -83,6 +83,12 @@ public class DefaultArtifactFilterManager
         artifacts.add( "org.eclipse.aether:aether-api" );
         artifacts.add( "org.eclipse.aether:aether-spi" );
         artifacts.add( "org.eclipse.aether:aether-impl" );
+        //
+        // We must also filter out the old or NoClassDefFoundErrors will surface
+        //
+        artifacts.add( "org.sonatype.aether:aether-api" );
+        artifacts.add( "org.sonatype.aether:aether-spi" );
+        artifacts.add( "org.sonatype.aether:aether-impl" );
 
         /*
          * NOTE: Don't exclude the wagons or any of their dependencies (apart from the wagon API). This would otherwise