org.apache.maven.cli
Class CLIManager

java.lang.Object
  extended by org.apache.maven.cli.CLIManager

public class CLIManager
extends Object

Author:
Jason van Zyl

Field Summary
static char ACTIVATE_PROFILES
           
static String ALSO_MAKE
           
static String ALSO_MAKE_DEPENDENTS
           
static String ALTERNATE_GLOBAL_SETTINGS
           
static char ALTERNATE_POM_FILE
           
static char ALTERNATE_USER_SETTINGS
           
static char ALTERNATE_USER_TOOLCHAINS
           
static char BATCH_MODE
           
static char CHECKSUM_FAILURE_POLICY
           
static char CHECKSUM_WARNING_POLICY
           
static char DEBUG
           
static String ENCRYPT_MASTER_PASSWORD
           
static String ENCRYPT_PASSWORD
           
static char ERRORS
           
static String FAIL_AT_END
           
static String FAIL_FAST
           
static String FAIL_NEVER
           
static char HELP
           
static String LEGACY_LOCAL_REPOSITORY
           
static String LOG_FILE
           
static char NON_RECURSIVE
           
static char OFFLINE
           
protected  Options options
           
static String PROJECT_LIST
           
static char QUIET
           
static String RESUME_FROM
           
static char SET_SYSTEM_PROPERTY
           
static char SHOW_VERSION
           
static String SUPRESS_SNAPSHOT_UPDATES
           
static String THREADS
           
static char UPDATE_SNAPSHOTS
           
static char VERSION
           
 
Constructor Summary
CLIManager()
           
 
Method Summary
 void displayHelp(PrintStream stdout)
           
 CommandLine parse(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALTERNATE_POM_FILE

public static final char ALTERNATE_POM_FILE
See Also:
Constant Field Values

BATCH_MODE

public static final char BATCH_MODE
See Also:
Constant Field Values

SET_SYSTEM_PROPERTY

public static final char SET_SYSTEM_PROPERTY
See Also:
Constant Field Values

OFFLINE

public static final char OFFLINE
See Also:
Constant Field Values

QUIET

public static final char QUIET
See Also:
Constant Field Values

DEBUG

public static final char DEBUG
See Also:
Constant Field Values

ERRORS

public static final char ERRORS
See Also:
Constant Field Values

HELP

public static final char HELP
See Also:
Constant Field Values

VERSION

public static final char VERSION
See Also:
Constant Field Values

SHOW_VERSION

public static final char SHOW_VERSION
See Also:
Constant Field Values

NON_RECURSIVE

public static final char NON_RECURSIVE
See Also:
Constant Field Values

UPDATE_SNAPSHOTS

public static final char UPDATE_SNAPSHOTS
See Also:
Constant Field Values

ACTIVATE_PROFILES

public static final char ACTIVATE_PROFILES
See Also:
Constant Field Values

SUPRESS_SNAPSHOT_UPDATES

public static final String SUPRESS_SNAPSHOT_UPDATES
See Also:
Constant Field Values

CHECKSUM_FAILURE_POLICY

public static final char CHECKSUM_FAILURE_POLICY
See Also:
Constant Field Values

CHECKSUM_WARNING_POLICY

public static final char CHECKSUM_WARNING_POLICY
See Also:
Constant Field Values

ALTERNATE_USER_SETTINGS

public static final char ALTERNATE_USER_SETTINGS
See Also:
Constant Field Values

ALTERNATE_GLOBAL_SETTINGS

public static final String ALTERNATE_GLOBAL_SETTINGS
See Also:
Constant Field Values

ALTERNATE_USER_TOOLCHAINS

public static final char ALTERNATE_USER_TOOLCHAINS
See Also:
Constant Field Values

FAIL_FAST

public static final String FAIL_FAST
See Also:
Constant Field Values

FAIL_AT_END

public static final String FAIL_AT_END
See Also:
Constant Field Values

FAIL_NEVER

public static final String FAIL_NEVER
See Also:
Constant Field Values

RESUME_FROM

public static final String RESUME_FROM
See Also:
Constant Field Values

PROJECT_LIST

public static final String PROJECT_LIST
See Also:
Constant Field Values

ALSO_MAKE

public static final String ALSO_MAKE
See Also:
Constant Field Values

ALSO_MAKE_DEPENDENTS

public static final String ALSO_MAKE_DEPENDENTS
See Also:
Constant Field Values

LOG_FILE

public static final String LOG_FILE
See Also:
Constant Field Values

ENCRYPT_MASTER_PASSWORD

public static final String ENCRYPT_MASTER_PASSWORD
See Also:
Constant Field Values

ENCRYPT_PASSWORD

public static final String ENCRYPT_PASSWORD
See Also:
Constant Field Values

THREADS

public static final String THREADS
See Also:
Constant Field Values

LEGACY_LOCAL_REPOSITORY

public static final String LEGACY_LOCAL_REPOSITORY
See Also:
Constant Field Values

options

protected Options options
Constructor Detail

CLIManager

public CLIManager()
Method Detail

parse

public CommandLine parse(String[] args)
                  throws ParseException
Throws:
ParseException

displayHelp

public void displayHelp(PrintStream stdout)


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.