From e3df5c6735666f7caa27025246b2ae2dacdde4df Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sun, 19 Nov 2006 06:51:09 +0000 Subject: git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@476735 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/archiva/cli/ArchivaCli.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'archiva-cli/src/main') 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 84b51b51f..009e1878c 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 @@ -8,7 +8,6 @@ import org.apache.maven.archiva.converter.RepositoryConversionException; import org.apache.maven.archiva.discoverer.DiscovererException; import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.tools.cli.AbstractCli; -import org.codehaus.plexus.tools.cli.Cli; import org.codehaus.plexus.util.StringUtils; import java.io.File; @@ -24,18 +23,22 @@ import java.util.Properties; public class ArchivaCli extends AbstractCli { + // ---------------------------------------------------------------------------- + // Options + // ---------------------------------------------------------------------------- + public static final char CONVERT = 'c'; + // ---------------------------------------------------------------------------- + // Properties controlling Repository conversion + // ---------------------------------------------------------------------------- + public static final String SOURCE_REPO_PATH = "sourceRepositoryPath"; public static final String TARGET_REPO_PATH = "targetRepositoryPath"; public static final String BLACKLISTED_PATTERNS = "blacklistPatterns"; - // ---------------------------------------------------------------------------- - // - // ---------------------------------------------------------------------------- - public static void main( String[] args ) throws Exception { -- cgit v1.2.3