summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-04-03 17:25:05 +0000
committerOlivier Lamy <olamy@apache.org>2012-04-03 17:25:05 +0000
commit4d1c49bccbd45efdce1ae634dba4f10a594c9ffb (patch)
treee68c0fd86d2da8c09a780b0728f71d8de253ff10 /archiva-modules/archiva-base
parent045c83645bcdbdf0e7dec1092b3b7c547c5c6502 (diff)
downloadarchiva-4d1c49bccbd45efdce1ae634dba4f10a594c9ffb.tar.gz
archiva-4d1c49bccbd45efdce1ae634dba4f10a594c9ffb.zip
[MRM-709] use SelectorUtils from ant.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309059 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/pom.xml7
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/functors/ConsumerWantsFilePredicate.java2
2 files changed, 7 insertions, 2 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/pom.xml
index 1932fdfcd..ae4e1c010 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/pom.xml
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/pom.xml
@@ -41,6 +41,10 @@
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -59,7 +63,8 @@
org.apache.archiva.common*;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io;version="[1.4,2)",
- org.codehaus.plexus.util
+ org.codehaus.plexus.util,
+ org.apache.tools.ant.types.selectors
</Import-Package>
</instructions>
</configuration>
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/functors/ConsumerWantsFilePredicate.java b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/functors/ConsumerWantsFilePredicate.java
index 7fe9e533f..2dcbd4a10 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/functors/ConsumerWantsFilePredicate.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/functors/ConsumerWantsFilePredicate.java
@@ -25,7 +25,7 @@ import org.apache.commons.collections.Predicate;
import org.apache.commons.io.FilenameUtils;
import org.apache.archiva.common.utils.BaseFile;
import org.apache.archiva.consumers.RepositoryContentConsumer;
-import org.codehaus.plexus.util.SelectorUtils;
+import org.apache.tools.ant.types.selectors.SelectorUtils;
/**
* ConsumerWantsFilePredicate