diff options
author | Brett Porter <brett@apache.org> | 2009-10-16 12:35:38 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-10-16 12:35:38 +0000 |
commit | e89326d687c1964ded21519c65bc59bcdf9f0526 (patch) | |
tree | 93548dcff1bea21d2b5e036720d71fb87c11591f /archiva-cli/src | |
parent | 4e4362191f12adbffc2af970b6e1e4affea94954 (diff) | |
download | archiva-e89326d687c1964ded21519c65bc59bcdf9f0526.tar.gz archiva-e89326d687c1964ded21519c65bc59bcdf9f0526.zip |
[MRM-1025] merge -r721944:723577 from former MRM-1025 branch, now aligned to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-cli/src')
-rw-r--r-- | archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArchivaCli.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArchivaCli.java b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArchivaCli.java index 43cb75350..0c91aaf2b 100644 --- a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArchivaCli.java +++ b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/ArchivaCli.java @@ -19,9 +19,6 @@ package org.apache.maven.archiva.cli; * under the License. */ -import com.sampullara.cli.Args; -import com.sampullara.cli.Argument; - import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; @@ -34,6 +31,11 @@ import java.util.List; import java.util.Map; import java.util.Properties; +import com.sampullara.cli.Args; +import com.sampullara.cli.Argument; +import org.apache.archiva.repository.scanner.RepositoryScanStatistics; +import org.apache.archiva.repository.scanner.RepositoryScanner; +import org.apache.archiva.repository.scanner.RepositoryScannerException; import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration; @@ -43,9 +45,6 @@ import org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer; import org.apache.maven.archiva.consumers.RepositoryContentConsumer; import org.apache.maven.archiva.converter.RepositoryConversionException; import org.apache.maven.archiva.converter.legacy.LegacyRepositoryConverter; -import org.apache.maven.archiva.repository.RepositoryException; -import org.apache.maven.archiva.repository.scanner.RepositoryScanStatistics; -import org.apache.maven.archiva.repository.scanner.RepositoryScanner; import org.apache.maven.artifact.manager.WagonManager; import org.codehaus.plexus.spring.PlexusClassPathXmlApplicationContext; import org.codehaus.plexus.spring.PlexusToSpringUtils; @@ -172,7 +171,7 @@ public class ArchivaCli System.out.println( "\n" + stats.toDump( repo ) ); } - catch ( RepositoryException e ) + catch ( RepositoryScannerException e ) { e.printStackTrace( System.err ); } |