]> source.dussan.org Git - archiva.git/commitdiff
Ignore .indexer directories
authorJames William Dumay <jdumay@apache.org>
Tue, 10 Feb 2009 04:46:37 +0000 (04:46 +0000)
committerJames William Dumay <jdumay@apache.org>
Tue, 10 Feb 2009 04:46:37 +0000 (04:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742846 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java

index 19620697a07440f155d3184b061b0330339c8173..4f21ff1b5600c20e7901f70888ce47e5ec0a5961 100644 (file)
@@ -160,6 +160,10 @@ public class MetadataUpdaterConsumer
     public void processFile( String path )
         throws ConsumerException
     {
+        //Ignore paths like .indexer etc
+        if (path.startsWith("."))
+            return;
+
         try
         {
             ArtifactReference artifact = repository.toArtifactReference( path );