public class MavenCli extends Object
Modifier and Type | Field and 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 |
Constructor and Description |
---|
MavenCli() |
MavenCli(org.codehaus.plexus.classworlds.ClassWorld classWorld) |
Modifier and Type | Method and Description |
---|---|
protected ModelProcessor |
createModelProcessor(org.codehaus.plexus.PlexusContainer container) |
protected void |
customizeContainer(org.codehaus.plexus.PlexusContainer container) |
int |
doMain(CliRequest cliRequest) |
static int |
doMain(String[] args,
org.codehaus.plexus.classworlds.ClassWorld classWorld) |
int |
doMain(String[] args,
String workingDirectory,
PrintStream stdout,
PrintStream stderr)
This supports painless invocation by the Verifier during embedded execution of the core ITs.
|
protected org.eclipse.aether.transfer.TransferListener |
getBatchTransferListener() |
protected org.eclipse.aether.transfer.TransferListener |
getConsoleTransferListener(boolean printResourceNames) |
static void |
main(String[] args) |
static int |
main(String[] args,
org.codehaus.plexus.classworlds.ClassWorld classWorld) |
public static final String LOCAL_REPO_PROPERTY
public static final String MULTIMODULE_PROJECT_DIRECTORY
public static final String USER_HOME
public static final File USER_MAVEN_CONFIGURATION_HOME
public static final File DEFAULT_USER_TOOLCHAINS_FILE
public static final File DEFAULT_GLOBAL_TOOLCHAINS_FILE
public static final String STYLE_COLOR_PROPERTY
public MavenCli()
public MavenCli(org.codehaus.plexus.classworlds.ClassWorld classWorld)
public static void main(String[] args)
public static int main(String[] args, org.codehaus.plexus.classworlds.ClassWorld classWorld)
public static int doMain(String[] args, org.codehaus.plexus.classworlds.ClassWorld classWorld)
public int doMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr)
Embedded3xLauncher
in maven-verifier
public int doMain(CliRequest cliRequest)
protected org.eclipse.aether.transfer.TransferListener getConsoleTransferListener(boolean printResourceNames)
protected org.eclipse.aether.transfer.TransferListener getBatchTransferListener()
protected void customizeContainer(org.codehaus.plexus.PlexusContainer container)
protected ModelProcessor createModelProcessor(org.codehaus.plexus.PlexusContainer container) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
org.codehaus.plexus.component.repository.exception.ComponentLookupException
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.