Package org.apache.maven.cli
Class MavenCli
java.lang.Object
org.apache.maven.cli.MavenCli
- Author:
- Jason van Zyl
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ModelProcessorcreateModelProcessor(org.codehaus.plexus.PlexusContainer container) protected voidcustomizeContainer(org.codehaus.plexus.PlexusContainer container) intdoMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr) This supports painless invocation by the Verifier during embedded execution of the core ITs.static intintdoMain(CliRequest cliRequest) protected org.eclipse.aether.transfer.TransferListenerprotected org.eclipse.aether.transfer.TransferListenergetConsoleTransferListener(boolean printResourceNames) static voidstatic intprotected MavenExecutionRequestpopulateRequest(CliRequest cliRequest) 
- 
Field Details- 
LOCAL_REPO_PROPERTY- See Also:
 
- 
MULTIMODULE_PROJECT_DIRECTORY- See Also:
 
- 
USER_HOME
- 
USER_MAVEN_CONFIGURATION_HOME
- 
DEFAULT_USER_TOOLCHAINS_FILE
- 
DEFAULT_GLOBAL_TOOLCHAINS_FILE
- 
STYLE_COLOR_PROPERTY- See Also:
 
 
- 
- 
Constructor Details- 
MavenClipublic MavenCli()
- 
MavenClipublic MavenCli(org.codehaus.plexus.classworlds.ClassWorld classWorld) 
 
- 
- 
Method Details- 
main
- 
main
- 
doMain
- 
doMainThis supports painless invocation by the Verifier during embedded execution of the core ITs. SeeEmbedded3xLauncherinmaven-verifier- Parameters:
- args- CLI args
- workingDirectory- working directory
- stdout- stdout
- stderr- stderr
- Returns:
- return code
 
- 
doMain
- 
populateRequest
- 
getConsoleTransferListenerprotected org.eclipse.aether.transfer.TransferListener getConsoleTransferListener(boolean printResourceNames) 
- 
getBatchTransferListenerprotected org.eclipse.aether.transfer.TransferListener getBatchTransferListener()
- 
customizeContainerprotected void customizeContainer(org.codehaus.plexus.PlexusContainer container) 
- 
createModelProcessorprotected ModelProcessor createModelProcessor(org.codehaus.plexus.PlexusContainer container) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException - Throws:
- org.codehaus.plexus.component.repository.exception.ComponentLookupException
 
 
-