summaryrefslogtreecommitdiffstats
path: root/archiva-reporting
diff options
context:
space:
mode:
authorJoakim Erdfelt <joakime@apache.org>2007-04-25 19:41:43 +0000
committerJoakim Erdfelt <joakime@apache.org>2007-04-25 19:41:43 +0000
commit4d6fb44053f28e9ab0452b4f2a2ce463cf92a8c8 (patch)
tree3351a0b9021f80954078bf55d1b47572f3c2f2c4 /archiva-reporting
parent3a6d8b6a27e11e7a802ba888ae1256d8cfad170d (diff)
downloadarchiva-4d6fb44053f28e9ab0452b4f2a2ce463cf92a8c8.tar.gz
archiva-4d6fb44053f28e9ab0452b4f2a2ce463cf92a8c8.zip
Fixing bad role-hint
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532454 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-reporting')
-rw-r--r--archiva-reporting/archiva-artifact-reports/src/main/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReport.java2
-rw-r--r--archiva-reporting/archiva-artifact-reports/src/test/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReportTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/archiva-reporting/archiva-artifact-reports/src/main/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReport.java b/archiva-reporting/archiva-artifact-reports/src/main/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReport.java
index f4e82152d..4ccf4e9d3 100644
--- a/archiva-reporting/archiva-artifact-reports/src/main/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReport.java
+++ b/archiva-reporting/archiva-artifact-reports/src/main/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReport.java
@@ -49,7 +49,7 @@ public class DuplicateArtifactReport
private String name;
/**
- * @plexus.requirement
+ * @plexus.requirement role-hint="jdo"
*/
private ArchivaDAO dao;
diff --git a/archiva-reporting/archiva-artifact-reports/src/test/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReportTest.java b/archiva-reporting/archiva-artifact-reports/src/test/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReportTest.java
index e6824de1e..fc981def3 100644
--- a/archiva-reporting/archiva-artifact-reports/src/test/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReportTest.java
+++ b/archiva-reporting/archiva-artifact-reports/src/test/java/org/apache/maven/archiva/reporting/artifact/DuplicateArtifactReportTest.java
@@ -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 );