]> source.dussan.org Git - archiva.git/commitdiff
[MRM-709] use SelectorUtils from ant.
authorOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 17:25:05 +0000 (17:25 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 17:25:05 +0000 (17:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1309059 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/pom.xml
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/archiva/consumers/functors/ConsumerWantsFilePredicate.java

index 1932fdfcd83047edfc509adcfed3af3de165a43e..ae4e1c010dfd2a95be09ce71ec4a26a13866bf58 100644 (file)
       <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>
index 7fe9e533f5eac5573633a4eaf68d8a4e5cc53b55..2dcbd4a10dabe408c027db13f44dcd20bc8d1ece 100644 (file)
@@ -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