mirror of https://github.com/apache/archiva.git
[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:
parent
cad717586f
commit
8630479fc6
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue