Package org.apache.maven.cli
Class MavenCli
- java.lang.Object
-
- org.apache.maven.cli.MavenCli
-
public class MavenCli extends Object
- Author:
- Jason van Zyl
-
-
Field Summary
Fields Modifier and Type Field Description static File
DEFAULT_GLOBAL_TOOLCHAINS_FILE
static File
DEFAULT_USER_TOOLCHAINS_FILE
static String
LOCAL_REPO_PROPERTY
static String
MULTIMODULE_PROJECT_DIRECTORY
static String
STYLE_COLOR_PROPERTY
static String
USER_HOME
static File
USER_MAVEN_CONFIGURATION_HOME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static org.codehaus.plexus.interpolation.StringSearchInterpolator
createInterpolator(CliRequest cliRequest, Properties... properties)
protected ModelProcessor
createModelProcessor(org.codehaus.plexus.PlexusContainer container)
protected void
customizeContainer(org.codehaus.plexus.PlexusContainer container)
int
doMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr)
This supports painless invocation by the Verifier during embedded execution of the core ITs.static int
doMain(String[] args, org.codehaus.plexus.classworlds.ClassWorld classWorld)
int
doMain(CliRequest cliRequest)
protected org.eclipse.aether.transfer.TransferListener
getBatchTransferListener()
protected org.eclipse.aether.transfer.TransferListener
getConsoleTransferListener(boolean printResourceNames)
protected boolean
isAcceptableRootDirectory(Path path)
static void
main(String[] args)
static int
main(String[] args, org.codehaus.plexus.classworlds.ClassWorld classWorld)
protected Path
searchAcceptableRootDirectory(Path path)
-
-
-
Field Detail
-
LOCAL_REPO_PROPERTY
public static final String LOCAL_REPO_PROPERTY
- See Also:
- Constant Field Values
-
MULTIMODULE_PROJECT_DIRECTORY
public static final String MULTIMODULE_PROJECT_DIRECTORY
- See Also:
- Constant Field Values
-
USER_HOME
public static final String USER_HOME
-
USER_MAVEN_CONFIGURATION_HOME
public static final File USER_MAVEN_CONFIGURATION_HOME
-
DEFAULT_USER_TOOLCHAINS_FILE
public static final File DEFAULT_USER_TOOLCHAINS_FILE
-
DEFAULT_GLOBAL_TOOLCHAINS_FILE
public static final File DEFAULT_GLOBAL_TOOLCHAINS_FILE
-
STYLE_COLOR_PROPERTY
public static final String STYLE_COLOR_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args)
-
main
public static int main(String[] args, org.codehaus.plexus.classworlds.ClassWorld classWorld)
-
doMain
public static int doMain(String[] args, org.codehaus.plexus.classworlds.ClassWorld classWorld)
-
doMain
public int doMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr)
This supports painless invocation by the Verifier during embedded execution of the core ITs. SeeEmbedded3xLauncher
inmaven-verifier
-
doMain
public int doMain(CliRequest cliRequest)
-
isAcceptableRootDirectory
protected boolean isAcceptableRootDirectory(Path path)
-
createInterpolator
protected static org.codehaus.plexus.interpolation.StringSearchInterpolator createInterpolator(CliRequest cliRequest, Properties... properties)
-
getConsoleTransferListener
protected org.eclipse.aether.transfer.TransferListener getConsoleTransferListener(boolean printResourceNames)
-
getBatchTransferListener
protected org.eclipse.aether.transfer.TransferListener getBatchTransferListener()
-
customizeContainer
protected void customizeContainer(org.codehaus.plexus.PlexusContainer container)
-
createModelProcessor
protected ModelProcessor createModelProcessor(org.codehaus.plexus.PlexusContainer container) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
-
-