From 837bb4a0b6ffd717b5d14cf38f46527a3a733245 Mon Sep 17 00:00:00 2001 From: James William Dumay Date: Tue, 10 Feb 2009 04:46:37 +0000 Subject: [PATCH] Ignore .indexer directories git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742846 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/archiva/consumers/core/MetadataUpdaterConsumer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java index 19620697a..4f21ff1b5 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java @@ -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 ); -- 2.39.5