Adding wagon-file to the deps list for maven-core; adding artifact-exclusions for everything found in -maven.home- /lib in DefaultPluginManager.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193088 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-06-23 06:23:17 +00:00
parent af50188487
commit 34a6140bef
2 changed files with 14 additions and 3 deletions

View File

@ -100,6 +100,12 @@
<version>1.0-alpha-4</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-file</artifactId>
<version>1.0-alpha-4</version>
<scope>runtime</scope>
</dependency>
<!-- used to prompt the user to add plugin versions to the plugin-registry. -->
<dependency>

View File

@ -980,6 +980,10 @@ public class DefaultPluginManager
// TODO: configure this from bootstrap or scan lib
Set artifacts = new HashSet();
artifacts.add( "classworlds" );
artifacts.add( "commons-cli" );
artifacts.add( "commons-validator" );
artifacts.add( "jline" );
artifacts.add( "jsch" );
artifacts.add( "maven-artifact" );
artifacts.add( "maven-artifact-manager" );
artifacts.add( "maven-core" );
@ -989,16 +993,17 @@ public class DefaultPluginManager
artifacts.add( "maven-plugin-descriptor" );
artifacts.add( "maven-project" );
artifacts.add( "maven-settings" );
artifacts.add( "oro" );
artifacts.add( "plexus-container-default" );
artifacts.add( "plexus-input-handler" );
artifacts.add( "plexus-utils" );
artifacts.add( "wagon-provider-api" );
artifacts.add( "wagon-ssh" );
artifacts.add( "wagon-http-lightweight" );
artifacts.add( "wagon-file" );
artifacts.add( "wagon-http-lightweight" );
artifacts.add( "wagon-ssh" );
// TODO: remove doxia
artifacts.add( "doxia-core" );
artifacts.add( "maven-reporting-api" );
artifacts.add( "plexus-input-handler" );
artifactFilter = new ExclusionSetFilter( artifacts );
}