Package org.apache.maven.cli
Class MavenCli
java.lang.Object
org.apache.maven.cli.MavenCli
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
int
doMain
(CliRequest cliRequest) protected org.eclipse.aether.transfer.TransferListener
protected org.eclipse.aether.transfer.TransferListener
getConsoleTransferListener
(boolean printResourceNames) static void
static int
protected MavenExecutionRequest
populateRequest
(CliRequest cliRequest) void
setFileSystem
(FileSystem fileSystem)
-
Field Details
-
MULTIMODULE_PROJECT_DIRECTORY
- See Also:
-
-
Constructor Details
-
MavenCli
public MavenCli() -
MavenCli
public MavenCli(org.codehaus.plexus.classworlds.ClassWorld classWorld)
-
-
Method Details
-
main
-
main
-
doMain
-
doMain
This supports painless invocation by the Verifier during embedded execution of the core ITs. SeeEmbedded3xLauncher
inmaven-verifier
- Parameters:
args
- CLI argsworkingDirectory
- working directorystdout
- stdoutstderr
- stderr- Returns:
- return code
-
doMain
-
populateRequest
-
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
-
setFileSystem
-