summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-configuration
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-10-15 04:41:43 +0000
committerBrett Porter <brett@apache.org>2009-10-15 04:41:43 +0000
commit3b5817496e456fe6c805ad6163ce385d72bd7c5f (patch)
treea3a9d334b847108d8b861f773f00181ee54fd5d8 /archiva-modules/archiva-base/archiva-configuration
parente5c3dc20fb255146b7c9b43c0fe9f381fea2eb49 (diff)
downloadarchiva-3b5817496e456fe6c805ad6163ce385d72bd7c5f.tar.gz
archiva-3b5817496e456fe6c805ad6163ce385d72bd7c5f.zip
[MRM-1265] .indexer should be excluded from scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825390 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-configuration')
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/FileTypes.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/FileTypes.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/FileTypes.java
index bf043a74f..f4de14ecc 100644
--- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/FileTypes.java
+++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/FileTypes.java
@@ -76,10 +76,9 @@ public class FileTypes
* case of the support files (based on extension) as it is elsewhere - it may be better to match these to actual
* artifacts and exclude later during scanning.
*/
- public static final List<String> DEFAULT_EXCLUSIONS = Arrays.asList( "**/maven-metadata.xml",
- "**/maven-metadata-*.xml", "**/*.sha1",
- "**/*.asc", "**/*.md5", "**/*.pgp",
- "**/.index/*.*");
+ public static final List<String> DEFAULT_EXCLUSIONS =
+ Arrays.asList( "**/maven-metadata.xml", "**/maven-metadata-*.xml", "**/*.sha1", "**/*.asc", "**/*.md5",
+ "**/*.pgp", "**/.index/**", "**/.indexer/**" );
public void setArchivaConfiguration( ArchivaConfiguration archivaConfiguration )
{