From: James William Dumay Date: Tue, 10 Feb 2009 04:46:37 +0000 (+0000) Subject: Ignore .indexer directories X-Git-Tag: archiva-1.2~141 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=837bb4a0b6ffd717b5d14cf38f46527a3a733245;p=archiva.git Ignore .indexer directories git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742846 13f79535-47bb-0310-9956-ffa450edef68 --- 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 );