]> source.dussan.org Git - archiva.git/commitdiff
[MRM-719] closure does not need to be a component
authorBrett Porter <brett@apache.org>
Wed, 27 Feb 2008 21:09:05 +0000 (21:09 +0000)
committerBrett Porter <brett@apache.org>
Wed, 27 Feb 2008 21:09:05 +0000 (21:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@631726 13f79535-47bb-0310-9956-ffa450edef68

archiva-database/src/main/java/org/apache/maven/archiva/database/updater/ProcessArchivaArtifactClosure.java

index 3de2bfabecacca97a50b7ff882b55d647ff09f12..7d404a842bf3a0e13c055721eb1130465bbe2d37 100644 (file)
@@ -31,10 +31,6 @@ import org.slf4j.LoggerFactory;
  *
  * @author <a href="mailto:joakime@apache.org">Joakim Erdfelt</a>
  * @version $Id$
- * 
- * @plexus.component role="org.apache.commons.collections.Closure" 
- *                   role-hint="process-artifact"
- *                   instantiation-strategy="per-lookup"
  */
 class ProcessArchivaArtifactClosure
     implements Closure
@@ -55,7 +51,7 @@ class ProcessArchivaArtifactClosure
             }
             catch ( ConsumerException e )
             {
-                log.warn( "Unable to process artifact [" + artifact + "] with consumer [" + consumer.getId() + "]" );
+                log.warn( "Unable to process artifact [" + artifact + "] with consumer [" + consumer.getId() + "]", e );
             }
         }