From 4d1c49bccbd45efdce1ae634dba4f10a594c9ffb Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 3 Apr 2012 17:25:05 +0000 Subject: [PATCH] [MRM-709] use SelectorUtils from ant. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309059 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-consumers/archiva-consumer-api/pom.xml | 7 ++++++- .../consumers/functors/ConsumerWantsFilePredicate.java | 2 +- 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 @@ commons-collections commons-collections + + org.apache.ant + ant + @@ -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 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 -- 2.39.5