]> source.dussan.org Git - archiva.git/commitdiff
Fixing bad role-hint
authorJoakim Erdfelt <joakime@apache.org>
Wed, 25 Apr 2007 19:41:43 +0000 (19:41 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Wed, 25 Apr 2007 19:41:43 +0000 (19:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532454 13f79535-47bb-0310-9956-ffa450edef68

archiva-reporting/archiva-artifact-reports/src/main/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReport.java
archiva-reporting/archiva-artifact-reports/src/test/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReportTest.java

index f4e82152d777d152962fd709fcf10414ee8874ab..4ccf4e9d3dc922484e5c396cc24d35b33a326dba 100644 (file)
@@ -49,7 +49,7 @@ public class DuplicateArtifactReport
     private String name;
 
     /**
-     * @plexus.requirement
+     * @plexus.requirement role-hint="jdo"
      */
     private ArchivaDAO dao;
 
index e6824de1e4529b46253a70e24123f71283c57fc3..fc981def3ec4e3109101eb58d8e5fe87d7e05e6f 100644 (file)
@@ -60,7 +60,7 @@ public class DuplicateArtifactReportTest
 
         artifactDao = dao.getArtifactDAO();
 
-        ArchivaConfiguration config = (ArchivaConfiguration) lookup( ArchivaConfiguration.class.getName() );
+        ArchivaConfiguration config = (ArchivaConfiguration) lookup( ArchivaConfiguration.class.getName(), "default" );
 
         RepositoryConfiguration repoConfig = new RepositoryConfiguration();
         repoConfig.setId( TESTABLE_REPO );