Package org.apache.maven.cli
Class MavenCli
java.lang.Object
org.apache.maven.cli.MavenCli
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FileDeprecated.static final FileDeprecated.UseConstants.MAVEN_USER_TOOLCHAINSinsteadstatic final StringDeprecated.UseConstants.MAVEN_REPO_LOCALinsteadstatic final StringDeprecated.UseProtoSession.getRootDirectory()insteadstatic final StringDeprecated.UseConstants.MAVEN_STYLE_COLOR_PROPERTYinsteadstatic final StringDeprecated.UseSystem.getProperty(String)with "user.home" insteadstatic final FileDeprecated.UseConstants.MAVEN_USER_CONFinstead -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelProcessorcreateModelProcessor(org.codehaus.plexus.PlexusContainer container) Deprecated.protected voidcustomizeContainer(org.codehaus.plexus.PlexusContainer container) Deprecated.intdoMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr) Deprecated.This supports painless invocation by the Verifier during embedded execution of the core ITs.static intDeprecated.intdoMain(CliRequest cliRequest) Deprecated.protected org.eclipse.aether.transfer.TransferListenerDeprecated.protected org.eclipse.aether.transfer.TransferListenergetConsoleTransferListener(boolean printResourceNames) Deprecated.static voidDeprecated.static intDeprecated.protected MavenExecutionRequestpopulateRequest(CliRequest cliRequest) Deprecated.voidsetFileSystem(FileSystem fileSystem) Deprecated.
-
Field Details
-
LOCAL_REPO_PROPERTY
Deprecated.UseConstants.MAVEN_REPO_LOCALinstead- See Also:
-
MULTIMODULE_PROJECT_DIRECTORY
Deprecated.UseProtoSession.getRootDirectory()instead- See Also:
-
USER_HOME
Deprecated.UseSystem.getProperty(String)with "user.home" instead -
USER_MAVEN_CONFIGURATION_HOME
Deprecated.UseConstants.MAVEN_USER_CONFinstead -
DEFAULT_USER_TOOLCHAINS_FILE
Deprecated.UseConstants.MAVEN_USER_TOOLCHAINSinstead -
DEFAULT_GLOBAL_TOOLCHAINS_FILE
Deprecated.UseConstants.MAVEN_INSTALLATION_TOOLCHAINSinstead -
STYLE_COLOR_PROPERTY
Deprecated.UseConstants.MAVEN_STYLE_COLOR_PROPERTYinstead- See Also:
-
-
Constructor Details
-
MavenCli
public MavenCli()Deprecated. -
MavenCli
public MavenCli(org.codehaus.plexus.classworlds.ClassWorld classWorld) Deprecated.
-
-
Method Details
-
main
Deprecated. -
main
Deprecated. -
doMain
Deprecated. -
doMain
Deprecated.This supports painless invocation by the Verifier during embedded execution of the core ITs. SeeEmbedded3xLauncherinmaven-verifier- Parameters:
args- CLI argsworkingDirectory- working directorystdout- stdoutstderr- stderr- Returns:
- return code
-
doMain
Deprecated. -
populateRequest
Deprecated. -
getConsoleTransferListener
protected org.eclipse.aether.transfer.TransferListener getConsoleTransferListener(boolean printResourceNames) Deprecated. -
getBatchTransferListener
protected org.eclipse.aether.transfer.TransferListener getBatchTransferListener()Deprecated. -
customizeContainer
protected void customizeContainer(org.codehaus.plexus.PlexusContainer container) Deprecated. -
createModelProcessor
protected ModelProcessor createModelProcessor(org.codehaus.plexus.PlexusContainer container) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException Deprecated.- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
-
setFileSystem
Deprecated.
-
Constants.MAVEN_INSTALLATION_TOOLCHAINSinstead