summaryrefslogtreecommitdiffstats
path: root/archiva-cli
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2008-03-25 14:01:23 +0000
committerBrett Porter <brett@apache.org>2008-03-25 14:01:23 +0000
commite26eac7e06325ef514a70bee9646a25fe2d205c9 (patch)
tree4ac81def83e98aa8fcf15e70143f3256efcf7c95 /archiva-cli
parent7976dca5f6c52f08977f85487b974155c4e55b2e (diff)
downloadarchiva-e26eac7e06325ef514a70bee9646a25fe2d205c9.tar.gz
archiva-e26eac7e06325ef514a70bee9646a25fe2d205c9.zip
[MRM-746] unable to include *.xml in artifacts list as it picks up maven-metadata.xml
- consolidate operations that checked if something was an artifact into FileTypes - add exclusions for the metadata and supporting files to consumers - add tests Merged from: r640793 git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@640819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-cli')
-rw-r--r--archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java
index ccb862c4a..7c9aa368f 100644
--- a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java
+++ b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArtifactCountConsumer.java
@@ -52,6 +52,7 @@ public class ArtifactCountConsumer
public ArtifactCountConsumer()
{
+ // TODO: shouldn't this use filetypes?
includes = new ArrayList();
includes.add( "**/*.pom" );
includes.add( "**/*.jar" );