[MRM-166] ignore .reports and .index when doing discovery

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2006-09-09 15:28:22 +00:00
parent cad717586f
commit 8630479fc6
1 changed files with 6 additions and 5 deletions

View File

@ -38,9 +38,10 @@ public abstract class AbstractArtifactDiscoverer
/** /**
* Standard patterns to exclude from discovery as they are not artifacts. * Standard patterns to exclude from discovery as they are not artifacts.
*/ */
private static final String[] STANDARD_DISCOVERY_EXCLUDES = {"bin/**", "reports/**", ".maven/**", "**/*.md5", private static final String[] STANDARD_DISCOVERY_EXCLUDES = {"bin/**", "reports/**", ".index", ".reports/**",
"**/*.MD5", "**/*.sha1", "**/*.SHA1", "**/*snapshot-version", "*/website/**", "*/licenses/**", "*/licences/**", ".maven/**", "**/*.md5", "**/*.MD5", "**/*.sha1", "**/*.SHA1", "**/*snapshot-version", "*/website/**",
"**/.htaccess", "**/*.html", "**/*.asc", "**/*.txt", "**/*.xml", "**/README*", "**/CHANGELOG*", "**/KEYS*"}; "*/licenses/**", "*/licences/**", "**/.htaccess", "**/*.html", "**/*.asc", "**/*.txt", "**/*.xml", "**/README*",
"**/CHANGELOG*", "**/KEYS*"};
private List scanForArtifactPaths( File repositoryBase, List blacklistedPatterns ) private List scanForArtifactPaths( File repositoryBase, List blacklistedPatterns )
{ {