Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addArg(String) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
- addArg(String) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Add a raw argument to Maven cli command at the end of other arguments.
- addArgs(Collection<String>) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
- addArgs(Collection<String>) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Add a raw arguments list to Maven cli command at the end of other arguments.
- addShellEnvironment(String, String) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Adds the specified environment variable to the Maven invocation.
- addShellEnvironment(String, String) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Adds the specified environment variable to the Maven invocation.
- ALWAYS - Enum constant in enum org.apache.maven.shared.invoker.UpdateSnapshotsPolicy
-
Request Maven to always update snapshots.
B
- build(InvocationRequest) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
build.
C
- checkRequiredState() - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
checkRequiredState.
- CommandLineConfigurationException - Exception Class in org.apache.maven.shared.invoker
-
Signals an error during the construction of the command line used to invoke Maven.
- CommandLineConfigurationException(String) - Constructor for exception class org.apache.maven.shared.invoker.CommandLineConfigurationException
-
Creates a new exception using the specified detail message.
- CommandLineConfigurationException(String, Throwable) - Constructor for exception class org.apache.maven.shared.invoker.CommandLineConfigurationException
-
Creates a new exception using the specified detail message and cause.
- consumeLine(String) - Method in class org.apache.maven.shared.invoker.PrintStreamHandler
D
- debug(String) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified debug message.
- debug(String) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified debug message.
- debug(String, Throwable) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified debug message and the accompanying exception.
- debug(String, Throwable) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified debug message and the accompanying exception.
- DEBUG - Static variable in interface org.apache.maven.shared.invoker.InvokerLogger
-
The threshold for debug output.
- DEFAULT - Enum constant in enum org.apache.maven.shared.invoker.UpdateSnapshotsPolicy
-
Don't control Maven policy on snapshots updates.
- DefaultInvocationRequest - Class in org.apache.maven.shared.invoker
-
Specifies the parameters used to control a Maven invocation.
- DefaultInvocationRequest() - Constructor for class org.apache.maven.shared.invoker.DefaultInvocationRequest
- DefaultInvocationResult - Class in org.apache.maven.shared.invoker
-
Describes the result of a Maven invocation.
- DefaultInvoker - Class in org.apache.maven.shared.invoker
-
Class intended to be used by clients who wish to invoke a forked Maven process from their applications
- DefaultInvoker() - Constructor for class org.apache.maven.shared.invoker.DefaultInvoker
E
- error(String) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified error message.
- error(String) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified error message.
- error(String, Throwable) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified error message and the accompanying exception.
- error(String, Throwable) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified error message and the accompanying exception.
- ERROR - Static variable in interface org.apache.maven.shared.invoker.InvokerLogger
-
The threshold for error output.
- execute(InvocationRequest) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Executes Maven using the parameters specified by the given invocation request.
- execute(InvocationRequest) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Executes Maven using the parameters specified by the given invocation request.
F
- Fail - Enum constant in enum org.apache.maven.shared.invoker.InvocationRequest.CheckSumPolicy
-
Strict checksum checking equivalent of
--strict-checksums
- FailAtEnd - Enum constant in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
-
Only fail the build afterwards.
- FailFast - Enum constant in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
-
Stop at first failure in reactor builds
- FailNever - Enum constant in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
-
NEVER fail the build, regardless of project result
- FATAL - Static variable in interface org.apache.maven.shared.invoker.InvokerLogger
-
The threshold for fatal error output.
- fatalError(String) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified fatal error message.
- fatalError(String) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified fatal error message.
- fatalError(String, Throwable) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified fatal error message and the accompanying exception.
- fatalError(String, Throwable) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified fatal error message and the accompanying exception.
G
- getArgs() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
- getArgs() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
List of raw line arguments which will be passed to cli.
- getBaseDirectory() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
getBaseDirectory.
- getBaseDirectory() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the base directory of the POM for the Maven invocation.
- getBaseDirectory() - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Getter for the field
baseDirectory
. - getBaseDirectory(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the path to the base directory of the POM for the Maven invocation.
- getBaseDirectory(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the base directory of the POM for the Maven invocation.
- getBuilder() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Get the current set builder strategy id equivalent of
--builder id
. - getBuilder() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Get the current set builder strategy id equivalent of
--builder id
. - getErrorHandler(InvocationOutputHandler) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the handler used to capture the error output from the Maven build.
- getErrorHandler(InvocationOutputHandler) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the handler used to capture the error output from the Maven build.
- getExecutionException() - Method in class org.apache.maven.shared.invoker.DefaultInvocationResult
-
Getter for the field
executionException
. - getExecutionException() - Method in interface org.apache.maven.shared.invoker.InvocationResult
-
Gets the exception that possibly occurred during the execution of the command line.
- getExitCode() - Method in class org.apache.maven.shared.invoker.DefaultInvocationResult
-
Getter for the field
exitCode
. - getExitCode() - Method in interface org.apache.maven.shared.invoker.InvocationResult
-
Gets the exit code from the Maven invocation.
- getGlobalChecksumPolicy() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the checksum mode of the Maven invocation.
- getGlobalChecksumPolicy() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the checksum mode of the Maven invocation.
- getGlobalSettingsFile() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the path to the global settings for the Maven invocation.
- getGlobalSettingsFile() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the global settings for the Maven invocation.
- getGlobalToolchainsFile() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Alternate path for the global toolchains file Note.
- getGlobalToolchainsFile() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Alternate path for the global toolchains file Note.
- getGoals() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Getter for the field
goals
. - getGoals() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the goals for the Maven invocation.
- getInputStream(InputStream) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the input stream used to provide input for the invoked Maven build.
- getInputStream(InputStream) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the input stream used to provide input for the invoked Maven build.
- getJavaHome() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Getter for the field
javaHome
. - getJavaHome() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the base directory of the Java installation used to run Maven.
- getLocalRepositoryDirectory() - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Getter for the field
localRepositoryDirectory
. - getLocalRepositoryDirectory() - Method in interface org.apache.maven.shared.invoker.Invoker
-
Gets the path to the base directory of the local repository to use for the Maven invocation.
- getLocalRepositoryDirectory() - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Getter for the field
localRepositoryDirectory
. - getLocalRepositoryDirectory(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the path to the base directory of the local repository to use for the Maven invocation.
- getLocalRepositoryDirectory(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the base directory of the local repository to use for the Maven invocation.
- getLogger() - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Getter for the field
logger
. - getLogger() - Method in interface org.apache.maven.shared.invoker.Invoker
-
Gets the logger used by this invoker to output diagnostic messages.
- getLogger() - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Getter for the field
logger
. - getLongOption() - Method in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
- getMavenExecutable() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Get the customized File of the Maven executable.
- getMavenExecutable() - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Getter for the field
mavenExecutable
. - getMavenExecutable() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Get the customized File of the Maven executable.
- getMavenExecutable() - Method in interface org.apache.maven.shared.invoker.Invoker
-
Get the customized File of the Maven executable.
- getMavenExecutable() - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Getter for the field
mavenExecutable
. - getMavenHome() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the path to the base directory of the Maven installation used to invoke Maven.
- getMavenHome() - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Getter for the field
mavenHome
. - getMavenHome() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the base directory of the Maven installation used to invoke Maven.
- getMavenHome() - Method in interface org.apache.maven.shared.invoker.Invoker
-
Gets the path to the base directory of the Maven installation used to invoke Maven.
- getMavenHome() - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Getter for the field
mavenHome
. - getMavenOpts() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Getter for the field
mavenOpts
. - getMavenOpts() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the value of the
MAVEN_OPTS
environment variable. - getOutputHandler(InvocationOutputHandler) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the handler used to capture the standard output from the Maven build.
- getOutputHandler(InvocationOutputHandler) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the handler used to capture the standard output from the Maven build.
- getPomFile() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Getter for the field
pomFile
. - getPomFile() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the POM for the Maven invocation.
- getPomFileName() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the (unqualified) filename of the POM for the Maven invocation.
- getPomFileName() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the (unqualified) filename of the POM for the Maven invocation.
- getProfiles() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the profiles for the Maven invocation.
- getProfiles() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the profiles for the Maven invocation.
- getProjects() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
A list of specified reactor projects to build instead of all projects.
- getProjects() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
A list of specified reactor projects to build instead of all projects.
- getProperties() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Getter for the field
properties
. - getProperties() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the system properties for the Maven invocation.
- getReactorFailureBehavior() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
getReactorFailureBehavior.
- getReactorFailureBehavior() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the failure mode of the Maven invocation.
- getResumeFrom() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Get the value of
resume-from
- getResumeFrom() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Get the value of
resume-from
- getShellEnvironments() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Getter for the field
shellEnvironments
. - getShellEnvironments() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the environment variables for the Maven invocation.
- getShortOption() - Method in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
- getThreads() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Get the value of the
threads
argument. - getThreads() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Get the value of the
threads
argument. - getThreshold() - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Gets the logger's threshold.
- getThreshold() - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Getter for the field
threshold
. - getTimeoutInSeconds() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
getTimeoutInSeconds.
- getTimeoutInSeconds() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
getTimeoutInSeconds.
- getToolchainsFile() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the path to the custom toolchains file
- getToolchainsFile() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the custom toolchains file
- getUpdateSnapshotsPolicy() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
- getUpdateSnapshotsPolicy() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Indicates the update snapshots policy.
- getUserSettingsFile() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the path to the user settings for the Maven invocation.
- getUserSettingsFile() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the path to the user settings for the Maven invocation.
- getWorkingDirectory() - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Getter for the field
workingDirectory
. - getWorkingDirectory() - Method in interface org.apache.maven.shared.invoker.Invoker
-
Gets the working directory for the Maven invocation.
I
- info(String) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified info message.
- info(String) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified info message.
- info(String, Throwable) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified info message and the accompanying exception.
- info(String, Throwable) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified info message and the accompanying exception.
- INFO - Static variable in interface org.apache.maven.shared.invoker.InvokerLogger
-
The threshold for info output.
- InvocationOutputHandler - Interface in org.apache.maven.shared.invoker
-
Receives the standard/error output from a Maven invocation.
- InvocationRequest - Interface in org.apache.maven.shared.invoker
-
Specifies the parameters used to control a Maven invocation.
- InvocationRequest.CheckSumPolicy - Enum in org.apache.maven.shared.invoker
-
The kind of checksum policy which should be used during Maven invocation.
- InvocationRequest.ReactorFailureBehavior - Enum in org.apache.maven.shared.invoker
-
The reactor failure behavior which to be used during Maven invocation.
- InvocationResult - Interface in org.apache.maven.shared.invoker
-
Describes the result of a Maven invocation.
- Invoker - Interface in org.apache.maven.shared.invoker
-
Provides a facade to invoke Maven.
- InvokerLogger - Interface in org.apache.maven.shared.invoker
-
A logger used by
Invoker
instances to output diagnostic messages. - isAlsoMake() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Get the value of the
also-make
argument. - isAlsoMake() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Get the value of the
also-make
argument. - isAlsoMakeDependents() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Get the value of the
also-make-dependents
- isAlsoMakeDependents() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Get the value of the
also-make-dependents
- isBatchMode() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isBatchMode.
- isBatchMode() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
By default, Maven is executed in batch mode.
- isDebug() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isDebug.
- isDebug() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the debug mode of the Maven invocation.
- isDebugEnabled() - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Tests whether debug output is enabled for this logger.
- isDebugEnabled() - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
isDebugEnabled.
- isErrorEnabled() - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Tests whether error output is enabled for this logger.
- isErrorEnabled() - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
isErrorEnabled.
- isFatalErrorEnabled() - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Tests whether fatal error output is enabled for this logger.
- isFatalErrorEnabled() - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
isFatalErrorEnabled.
- isInfoEnabled() - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Tests whether info output is enabled for this logger.
- isInfoEnabled() - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
isInfoEnabled.
- isNonPluginUpdates() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Indicates whether Maven should check for plugin updates.
- isNonPluginUpdates() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Indicates whether Maven should check for plugin updates.
- isNoTransferProgress() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
- isNoTransferProgress() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Get the value of the
no-transfer-progress
argument. - isOffline() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isOffline.
- isOffline() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the network mode of the Maven invocation.
- isQuiet() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Gets the quiet mode of the Maven invocation.
- isQuiet() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the quiet mode of the Maven invocation.
- isRecursive() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isRecursive.
- isRecursive() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the recursion behavior of a reactor invocation.
- isShellEnvironmentInherited() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isShellEnvironmentInherited.
- isShellEnvironmentInherited() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Indicates whether the environment variables of the current process should be propagated to the Maven invocation.
- isShowErrors() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isShowErrors.
- isShowErrors() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Gets the exception output mode of the Maven invocation.
- isShowVersion() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isShowVersion.
- isShowVersion() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
The show version behavior (-V option)
- isUpdateSnapshots() - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
isUpdateSnapshots.
- isUpdateSnapshots() - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Indicates whether Maven should enforce an update check for plugins and snapshots.
- isWarnEnabled() - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Tests whether warn output is enabled for this logger.
- isWarnEnabled() - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
isWarnEnabled.
M
- MavenCommandLineBuilder - Class in org.apache.maven.shared.invoker
-
MavenCommandLineBuilder class.
- MavenCommandLineBuilder() - Constructor for class org.apache.maven.shared.invoker.MavenCommandLineBuilder
- MavenInvocationException - Exception Class in org.apache.maven.shared.invoker
-
Signals an error during the construction of the command line used to invoke Maven, e.g.
- MavenInvocationException(String) - Constructor for exception class org.apache.maven.shared.invoker.MavenInvocationException
-
Creates a new exception using the specified detail message.
- MavenInvocationException(String, Throwable) - Constructor for exception class org.apache.maven.shared.invoker.MavenInvocationException
-
Creates a new exception using the specified detail message and cause.
N
- NEVER - Enum constant in enum org.apache.maven.shared.invoker.UpdateSnapshotsPolicy
-
Prevent Maven updating snapshots.
- NO_TIMEOUT - Static variable in interface org.apache.maven.shared.invoker.InvocationRequest
-
Constant
NO_TIMEOUT=0
O
- org.apache.maven.shared.invoker - package org.apache.maven.shared.invoker
P
- PrintStreamHandler - Class in org.apache.maven.shared.invoker
-
Offers an output handler that writes to a print stream like
System.out
. - PrintStreamHandler() - Constructor for class org.apache.maven.shared.invoker.PrintStreamHandler
-
Creates a new output handler that writes to
System.out
. - PrintStreamHandler(PrintStream, boolean) - Constructor for class org.apache.maven.shared.invoker.PrintStreamHandler
-
Creates a new output handler that writes to the specified print stream.
- PrintStreamLogger - Class in org.apache.maven.shared.invoker
-
Offers a logger that writes to a print stream like
System.out
. - PrintStreamLogger() - Constructor for class org.apache.maven.shared.invoker.PrintStreamLogger
-
Creates a new logger that writes to
System.out
and has a threshold ofInvokerLogger.INFO
. - PrintStreamLogger(PrintStream, int) - Constructor for class org.apache.maven.shared.invoker.PrintStreamLogger
-
Creates a new logger that writes to the specified print stream.
R
- ROLE - Static variable in interface org.apache.maven.shared.invoker.Invoker
-
The role name used to register implementations of this interface within Plexus.
- ROLE_HINT - Static variable in class org.apache.maven.shared.invoker.DefaultInvoker
-
Constant
ROLE_HINT="default"
S
- setAlsoMake(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Enable the 'also make' mode.
- setAlsoMake(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Enable the 'also make' mode.
- setAlsoMakeDependents(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Enable the 'also make dependents' mode.
- setAlsoMakeDependents(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Enable the 'also make dependents' mode.
- setArgs(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
- setBaseDirectory(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the path to the base directory of the POM for the Maven invocation.
- setBaseDirectory(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the path to the base directory of the POM for the Maven invocation.
- setBaseDirectory(File) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Setter for the field
baseDirectory
. - setBatchMode(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the interaction mode of the Maven invocation.
- setBatchMode(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the interaction mode of the Maven invocation.
- setBuilder(String) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
The id of the build strategy to use.
- setBuilder(String) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
The id of the build strategy to use.
- setDebug(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the debug mode of the Maven invocation.
- setDebug(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the debug mode of the Maven invocation.
- setErrorHandler(InvocationOutputHandler) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the handler used to capture the error output from the Maven build.
- setErrorHandler(InvocationOutputHandler) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Sets the handler used to capture the error output from the Maven build.
- setErrorHandler(InvocationOutputHandler) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the handler used to capture the error output from the Maven build.
- setErrorHandler(InvocationOutputHandler) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Deprecated.
- setFlags(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setFlags.
- setGlobalChecksumPolicy(InvocationRequest.CheckSumPolicy) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the checksum mode of the Maven invocation.
- setGlobalChecksumPolicy(InvocationRequest.CheckSumPolicy) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the checksum mode of the Maven invocation.
- setGlobalSettingsFile(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the path to the global settings for the Maven invocation.
- setGlobalSettingsFile(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the path to the global settings for the Maven invocation.
- setGlobalToolchainsFile(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the alternate path for the global toolchains file Equivalent of
-gt
or--global-toolchains
- setGlobalToolchainsFile(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the alternate path for the global toolchains file Equivalent of
-gt
or--global-toolchains
- setGoals(List<String>) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the goals for the Maven invocation.
- setGoals(List<String>) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Deprecated.simply
InvocationRequest.addArg(String)
orInvocationRequest.addArgs(Collection)
should be used - setGoals(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setGoals.
- setInputStream(InputStream) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the input stream used to provide input for the invoked Maven build.
- setInputStream(InputStream) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Sets the input stream used to provide input for the invoked Maven build.
- setInputStream(InputStream) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the input stream used to provide input for the invoked Maven build.
- setInputStream(InputStream) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Deprecated.
- setJavaHome(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the path to the base directory of the Java installation used to run Maven.
- setJavaHome(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the path to the base directory of the Java installation used to run Maven.
- setLocalRepository(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setLocalRepository.
- setLocalRepositoryDirectory(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the path to the base directory of the local repository to use for the Maven invocation.
- setLocalRepositoryDirectory(File) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Sets the path to the base directory of the local repository to use for the Maven invocation.
- setLocalRepositoryDirectory(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the path to the base directory of the local repository to use for the Maven invocation.
- setLocalRepositoryDirectory(File) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Sets the path to the base directory of the local repository to use for the Maven invocation.
- setLocalRepositoryDirectory(File) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Setter for the field
localRepositoryDirectory
. - setLogger(InvokerLogger) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Sets the logger used by this invoker to output diagnostic messages.
- setLogger(InvokerLogger) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Sets the logger used by this invoker to output diagnostic messages.
- setLogger(InvokerLogger) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Setter for the field
logger
. - setMavenExecutable(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
mavenExecutable
can either be a file relative to ${maven.home}/bin/ or an absolute file. - setMavenExecutable(File) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
mavenExecutable
can either be a file relative to ${maven.home}/bin/ or an absolute file. - setMavenExecutable(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
mavenExecutable
can either be a file relative to ${maven.home}/bin/ or an absolute file. - setMavenExecutable(File) - Method in interface org.apache.maven.shared.invoker.Invoker
-
mavenExecutable
can either be a file relative to ${maven.home}/bin/ or an absolute file. - setMavenExecutable(File) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
mavenExecutable
can either be relative to ${maven.home}/bin/ or absolute - setMavenHome(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the path to the base directory of the Maven installation used to invoke Maven.
- setMavenHome(File) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Sets the path to the base directory of the Maven installation used to invoke Maven.
- setMavenHome(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the path to the base directory of the Maven installation used to invoke Maven.
- setMavenHome(File) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Sets the path to the base directory of the Maven installation used to invoke Maven.
- setMavenHome(File) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
Setter for the field
mavenHome
. - setMavenOpts(String) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the value of the
MAVEN_OPTS
environment variable. - setMavenOpts(String) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the value of the
MAVEN_OPTS
environment variable. - setNonPluginUpdates(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Specifies whether Maven should check for plugin updates.
- setNonPluginUpdates(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Specifies whether Maven should check for plugin updates.
- setNoTransferProgress(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
- setNoTransferProgress(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Enable no transfer progress mode.
- setOffline(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the network mode of the Maven invocation.
- setOffline(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the network mode of the Maven invocation.
- setOutputHandler(InvocationOutputHandler) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the handler used to capture the standard output from the Maven build.
- setOutputHandler(InvocationOutputHandler) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Sets the handler used to capture the standard output from the Maven build.
- setOutputHandler(InvocationOutputHandler) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the handler used to capture the standard output from the Maven build.
- setOutputHandler(InvocationOutputHandler) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Deprecated.
- setPomFile(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the path to the POM for the Maven invocation.
- setPomFile(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the path to the POM for the Maven invocation.
- setPomFileName(String) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the (unqualified) filename of the POM for the Maven invocation.
- setPomFileName(String) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the (unqualified) filename of the POM for the Maven invocation.
- setPomLocation(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setPomLocation.
- setProfiles(List<String>) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the profiles for the Maven invocation.
- setProfiles(List<String>) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the profiles for the Maven invocation.
- setProfiles(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setProfiles.
- setProjects(List<String>) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the reactor project list.
- setProjects(List<String>) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the reactor project list.
- setProperties(Properties) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the system properties for the Maven invocation.
- setProperties(Properties) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the system properties for the Maven invocation.
- setProperties(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setProperties.
- setQuiet(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the quiet mode of the Maven invocation.
- setQuiet(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the quiet mode of the Maven invocation.
- setReactorBehavior(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setReactorBehavior.
- setReactorFailureBehavior(InvocationRequest.ReactorFailureBehavior) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
setReactorFailureBehavior.
- setReactorFailureBehavior(InvocationRequest.ReactorFailureBehavior) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the failure mode of the Maven invocation.
- setRecursive(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the recursion behavior of a reactor invocation.
- setRecursive(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the recursion behavior of a reactor invocation.
- setResumeFrom(String) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Resume reactor from specified project.
- setResumeFrom(String) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Resume reactor from specified project.
- setSettingsLocation(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setSettingsLocation.
- setShellEnvironment(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setShellEnvironment.
- setShellEnvironmentInherited(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Specifies whether the environment variables of the current process should be propagated to the Maven invocation.
- setShellEnvironmentInherited(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Specifies whether the environment variables of the current process should be propagated to the Maven invocation.
- setShowErrors(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the exception output mode of the Maven invocation.
- setShowErrors(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the exception output mode of the Maven invocation.
- setShowVersion(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
enable displaying version without stopping the build Equivalent of
-V
or--show-version
- setShowVersion(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
enable displaying version without stopping the build Equivalent of
-V
or--show-version
- setThreads(String) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Thread count, for instance 2.0C where C is core multiplied Equivalent of
-T
or--threads
- setThreads(String) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Thread count, for instance 2.0C where C is core multiplied Equivalent of
-T
or--threads
- setThreads(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setThreads.
- setThreshold(int) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Sets the logger's threshold.
- setThreshold(int) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Sets the logger's threshold.
- setTimeoutInSeconds(int) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
setTimeoutInSeconds.
- setTimeoutInSeconds(int) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
setTimeoutInSeconds.
- setToolchainsFile(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the alternate path for the user toolchains file Equivalent of
-t
or--toolchains
- setToolchainsFile(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the alternate path for the user toolchains file Equivalent of
-t
or--toolchains
- setToolchainsLocation(InvocationRequest, Commandline) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setToolchainsLocation.
- setUpdateSnapshots(boolean) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Specifies whether Maven should enforce an update check for plugins and snapshots.
- setUpdateSnapshots(boolean) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Specifies whether Maven should enforce an update check for plugins and snapshots.
- setUpdateSnapshotsPolicy(UpdateSnapshotsPolicy) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
- setUpdateSnapshotsPolicy(UpdateSnapshotsPolicy) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Specify the Maven update snapshots policy
- setupMavenExecutable(InvocationRequest) - Method in class org.apache.maven.shared.invoker.MavenCommandLineBuilder
-
setupMavenExecutable.
- setUserSettingsFile(File) - Method in class org.apache.maven.shared.invoker.DefaultInvocationRequest
-
Sets the path to the user settings for the Maven invocation.
- setUserSettingsFile(File) - Method in interface org.apache.maven.shared.invoker.InvocationRequest
-
Sets the path to the user settings for the Maven invocation.
- setWorkingDirectory(File) - Method in class org.apache.maven.shared.invoker.DefaultInvoker
-
Sets the working directory for the Maven invocation.
- setWorkingDirectory(File) - Method in interface org.apache.maven.shared.invoker.Invoker
-
Deprecated.Please use
InvocationRequest.setBaseDirectory(File)
- SystemOutHandler - Class in org.apache.maven.shared.invoker
-
Offers an output handler that writes to
System.out
. - SystemOutHandler() - Constructor for class org.apache.maven.shared.invoker.SystemOutHandler
-
Creates a new output handler.
- SystemOutHandler(boolean) - Constructor for class org.apache.maven.shared.invoker.SystemOutHandler
-
Creates a new output handler.
- SystemOutLogger - Class in org.apache.maven.shared.invoker
-
Offers a logger that writes to
System.out
. - SystemOutLogger() - Constructor for class org.apache.maven.shared.invoker.SystemOutLogger
-
Creates a new logger with a threshold of
InvokerLogger.INFO
.
U
- UpdateSnapshotsPolicy - Enum in org.apache.maven.shared.invoker
-
Define how Maven should update snapshots.
V
- valueOf(String) - Static method in enum org.apache.maven.shared.invoker.InvocationRequest.CheckSumPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.shared.invoker.UpdateSnapshotsPolicy
-
Returns the enum constant of this type with the specified name.
- valueOfByLongOption(String) - Static method in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
-
Returns the enumeration type which is related to the given long option.
- values() - Static method in enum org.apache.maven.shared.invoker.InvocationRequest.CheckSumPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.shared.invoker.UpdateSnapshotsPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(String) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified warning message.
- warn(String) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified warning message.
- warn(String, Throwable) - Method in interface org.apache.maven.shared.invoker.InvokerLogger
-
Logs the specified warning message and the accompanying exception.
- warn(String, Throwable) - Method in class org.apache.maven.shared.invoker.PrintStreamLogger
-
Logs the specified warning message and the accompanying exception.
- Warn - Enum constant in enum org.apache.maven.shared.invoker.InvocationRequest.CheckSumPolicy
-
Warn checksum failures equivalent
--lax-checksums
. - WARN - Static variable in interface org.apache.maven.shared.invoker.InvokerLogger
-
The threshold for warn output.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
InvocationRequest.setErrorHandler(InvocationOutputHandler)