From 0b80d497efed1ad635acd6c514668727c098b030 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Wed, 27 Feb 2008 21:58:09 +0000 Subject: [PATCH] [MRM-719] fix component instantiation git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631744 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/archiva/database/updater/JdoDatabaseUpdater.java | 2 +- .../archiva/database/updater/ProcessArchivaArtifactClosure.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/JdoDatabaseUpdater.java b/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/JdoDatabaseUpdater.java index 822cd18fc..da7edd0ad 100644 --- a/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/JdoDatabaseUpdater.java +++ b/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/JdoDatabaseUpdater.java @@ -58,7 +58,7 @@ public class JdoDatabaseUpdater private DatabaseConsumers dbConsumers; /** - * @plexus.requirement + * @plexus.requirement role="org.apache.commons.collections.Closure" role-hint="process-artifact" */ private ProcessArchivaArtifactClosure processArtifactClosure; diff --git a/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ProcessArchivaArtifactClosure.java b/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ProcessArchivaArtifactClosure.java index 91200c2ee..d2d908759 100644 --- a/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ProcessArchivaArtifactClosure.java +++ b/archiva-1.0.x/archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ProcessArchivaArtifactClosure.java @@ -35,7 +35,7 @@ import org.codehaus.plexus.logging.AbstractLogEnabled; * role-hint="process-artifact" * instantiation-strategy="per-lookup" */ -class ProcessArchivaArtifactClosure +public class ProcessArchivaArtifactClosure extends AbstractLogEnabled implements Closure { -- 2.39.5