[MRM-709] use SelectorUtils from ant.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-04-03 17:25:05 +00:00
parent 045c83645b
commit 4d1c49bccb
2 changed files with 7 additions and 2 deletions

View File

@ -41,6 +41,10 @@
<groupId>commons-collections</groupId> <groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId> <artifactId>commons-collections</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
@ -59,7 +63,8 @@
org.apache.archiva.common*;version=${project.version}, org.apache.archiva.common*;version=${project.version},
org.apache.commons.collections;version="[3.2,4)", org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io;version="[1.4,2)", org.apache.commons.io;version="[1.4,2)",
org.codehaus.plexus.util org.codehaus.plexus.util,
org.apache.tools.ant.types.selectors
</Import-Package> </Import-Package>
</instructions> </instructions>
</configuration> </configuration>

View File

@ -25,7 +25,7 @@ import org.apache.commons.collections.Predicate;
import org.apache.commons.io.FilenameUtils; import org.apache.commons.io.FilenameUtils;
import org.apache.archiva.common.utils.BaseFile; import org.apache.archiva.common.utils.BaseFile;
import org.apache.archiva.consumers.RepositoryContentConsumer; import org.apache.archiva.consumers.RepositoryContentConsumer;
import org.codehaus.plexus.util.SelectorUtils; import org.apache.tools.ant.types.selectors.SelectorUtils;
/** /**
* ConsumerWantsFilePredicate * ConsumerWantsFilePredicate