mirror of https://github.com/apache/archiva.git
MRM-709: Use commons-io instead of Plexus Utils
* Changing to FileUtils in commons-io. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630592 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7b7497e19e
commit
153a5d32f8
|
@ -19,6 +19,7 @@ package org.apache.maven.archiva.converter.artifact;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import org.apache.commons.io.FileUtils;
|
||||||
import org.apache.maven.archiva.converter.artifact.ArtifactConversionException;
|
import org.apache.maven.archiva.converter.artifact.ArtifactConversionException;
|
||||||
import org.apache.maven.archiva.converter.artifact.ArtifactConverter;
|
import org.apache.maven.archiva.converter.artifact.ArtifactConverter;
|
||||||
import org.apache.maven.archiva.converter.artifact.Messages;
|
import org.apache.maven.archiva.converter.artifact.Messages;
|
||||||
|
@ -31,7 +32,6 @@ import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
|
||||||
import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;
|
import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;
|
||||||
import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;
|
import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;
|
||||||
import org.codehaus.plexus.PlexusTestCase;
|
import org.codehaus.plexus.PlexusTestCase;
|
||||||
import org.codehaus.plexus.util.FileUtils;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -20,7 +20,7 @@ package org.apache.maven.archiva.consumers.database;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import org.codehaus.plexus.PlexusTestCase;
|
import org.codehaus.plexus.PlexusTestCase;
|
||||||
import org.codehaus.plexus.util.FileUtils;
|
import org.apache.commons.io.FileUtils;
|
||||||
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
||||||
import org.apache.maven.archiva.configuration.Configuration;
|
import org.apache.maven.archiva.configuration.Configuration;
|
||||||
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
|
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
|
||||||
|
|
|
@ -19,6 +19,7 @@ package org.apache.maven.archiva.indexer;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import org.apache.commons.io.FileUtils;
|
||||||
import org.apache.lucene.document.Document;
|
import org.apache.lucene.document.Document;
|
||||||
import org.apache.lucene.index.IndexWriter;
|
import org.apache.lucene.index.IndexWriter;
|
||||||
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
import org.apache.maven.archiva.configuration.ArchivaConfiguration;
|
||||||
|
@ -27,7 +28,6 @@ import org.apache.maven.archiva.indexer.lucene.LuceneIndexHandlers;
|
||||||
import org.apache.maven.archiva.indexer.lucene.LuceneRepositoryContentRecord;
|
import org.apache.maven.archiva.indexer.lucene.LuceneRepositoryContentRecord;
|
||||||
import org.apache.maven.archiva.model.ArchivaArtifact;
|
import org.apache.maven.archiva.model.ArchivaArtifact;
|
||||||
import org.codehaus.plexus.PlexusTestCase;
|
import org.codehaus.plexus.PlexusTestCase;
|
||||||
import org.codehaus.plexus.util.FileUtils;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -19,6 +19,7 @@ package org.apache.maven.archiva.indexer.search;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import org.apache.commons.io.FileUtils;
|
||||||
import org.apache.lucene.search.Hits;
|
import org.apache.lucene.search.Hits;
|
||||||
import org.apache.lucene.search.MatchAllDocsQuery;
|
import org.apache.lucene.search.MatchAllDocsQuery;
|
||||||
import org.apache.lucene.search.Query;
|
import org.apache.lucene.search.Query;
|
||||||
|
@ -32,7 +33,6 @@ import org.apache.maven.archiva.indexer.bytecode.BytecodeRecord;
|
||||||
import org.apache.maven.archiva.indexer.filecontent.FileContentRecord;
|
import org.apache.maven.archiva.indexer.filecontent.FileContentRecord;
|
||||||
import org.apache.maven.archiva.indexer.hashcodes.HashcodesRecord;
|
import org.apache.maven.archiva.indexer.hashcodes.HashcodesRecord;
|
||||||
import org.codehaus.plexus.PlexusTestCase;
|
import org.codehaus.plexus.PlexusTestCase;
|
||||||
import org.codehaus.plexus.util.FileUtils;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
Loading…
Reference in New Issue