From 29225ccd02224dabcd673d3b0ff99cf52f05ee3b Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Wed, 7 Jun 2006 08:04:31 +0000 Subject: [PATCH] Changed role-hint of DefaultMetadataDiscoverer git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412321 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/repository/discovery/DefaultMetadataDiscoverer.java | 2 +- .../repository/discovery/DefaultMetadataDiscovererTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java index f68e799be..f68990a08 100644 --- a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java +++ b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java @@ -42,7 +42,7 @@ import java.util.StringTokenizer; /** * This class gets all the paths that contain the metadata files. * - * @plexus.component role="org.apache.maven.repository.discovery.MetadataDiscoverer" role-hint="org.apache.maven.repository.discovery.DefaultMetadataDiscoverer" + * @plexus.component role="org.apache.maven.repository.discovery.MetadataDiscoverer" role-hint="default" */ public class DefaultMetadataDiscoverer extends AbstractDiscoverer diff --git a/maven-repository-discovery/src/test/java/org/apache/maven/repository/discovery/DefaultMetadataDiscovererTest.java b/maven-repository-discovery/src/test/java/org/apache/maven/repository/discovery/DefaultMetadataDiscovererTest.java index c779c1567..ca5845e2b 100644 --- a/maven-repository-discovery/src/test/java/org/apache/maven/repository/discovery/DefaultMetadataDiscovererTest.java +++ b/maven-repository-discovery/src/test/java/org/apache/maven/repository/discovery/DefaultMetadataDiscovererTest.java @@ -41,7 +41,7 @@ public class DefaultMetadataDiscovererTest super.setUp(); discoverer = (MetadataDiscoverer) lookup( MetadataDiscoverer.ROLE, - "org.apache.maven.repository.discovery.DefaultMetadataDiscoverer" ); + "default" ); repositoryLocation = getTestFile( "src/test/repository" ); }