diff --git a/maven-core/src/main/resources/META-INF/plexus/components.xml b/maven-core/src/main/resources/META-INF/plexus/components.xml
index 6154060397..4c383929fb 100644
--- a/maven-core/src/main/resources/META-INF/plexus/components.xml
+++ b/maven-core/src/main/resources/META-INF/plexus/components.xml
@@ -74,7 +74,7 @@ under the License.
org.apache.maven.artifact.metadata.ArtifactMetadataSource
- maven
+ default
org.apache.maven.plugin.PluginMappingManager
@@ -104,7 +104,7 @@ under the License.
org.apache.maven.artifact.metadata.ArtifactMetadataSource
- maven
+ default
org.apache.maven.wagon.manager.WagonManager
@@ -608,7 +608,7 @@ under the License.
org.apache.maven.artifact.metadata.ArtifactMetadataSource
- maven
+ default
org.apache.maven.plugin.registry.MavenPluginRegistryBuilder
diff --git a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
index 76c081924c..eafa9db38f 100644
--- a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
+++ b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
@@ -407,7 +407,7 @@ public class DefaultMavenProjectBuilder
{
try
{
- artifactMetadataSource = (ArtifactMetadataSource) container.lookup( ArtifactMetadataSource.ROLE, "maven" );
+ artifactMetadataSource = (ArtifactMetadataSource) container.lookup( ArtifactMetadataSource.ROLE );
}
catch ( ComponentLookupException e )
{
diff --git a/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java b/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
index c6855ebfa4..93a2f324fb 100644
--- a/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
+++ b/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
@@ -67,7 +67,7 @@ public class MavenMetadataSource
extends AbstractLogEnabled
implements ArtifactMetadataSource
{
- public static final String ROLE_HINT = "maven";
+ public static final String ROLE_HINT = "default";
private MavenProjectBuilder mavenProjectBuilder;
diff --git a/maven-project/src/main/resources/META-INF/plexus/components.xml b/maven-project/src/main/resources/META-INF/plexus/components.xml
index d77652bade..8c22c30727 100644
--- a/maven-project/src/main/resources/META-INF/plexus/components.xml
+++ b/maven-project/src/main/resources/META-INF/plexus/components.xml
@@ -330,6 +330,27 @@ under the License.
+
+ org.apache.maven.artifact.metadata.ArtifactMetadataSource
+ default
+ org.apache.maven.project.artifact.MavenMetadataSource
+
+
+ org.apache.maven.project.MavenProjectBuilder
+
+
+ org.apache.maven.artifact.factory.ArtifactFactory
+
+
+ org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager
+
+
+ org.apache.maven.context.BuildContextManager
+ default
+
+
+
+
org.apache.maven.MavenTools
org.apache.maven.DefaultMavenTools