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

This commit is contained in:
Jason van Zyl 2013-09-14 21:02:05 -04:00
parent 6125acf1c4
commit 0194cd61c8
1 changed files with 6 additions and 0 deletions

View File

@ -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