Package | Description |
---|---|
org.apache.maven.shared.invoker |
Modifier and Type | Class and Description |
---|---|
class |
DefaultInvocationRequest
Specifies the parameters used to control a Maven invocation.
|
Modifier and Type | Method and Description |
---|---|
InvocationRequest |
InvocationRequest.activateReactor(String[] includes,
String[] excludes)
Dynamically constructs a reactor using the subdirectories of the current directory
|
InvocationRequest |
DefaultInvocationRequest.activateReactor(String[] includes,
String[] excludes) |
InvocationRequest |
InvocationRequest.addShellEnvironment(String name,
String value)
Adds the specified environment variable to the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.addShellEnvironment(String name,
String value) |
InvocationRequest |
InvocationRequest.setBaseDirectory(File basedir)
Sets the path to the base directory of the POM for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setBaseDirectory(File basedir) |
InvocationRequest |
InvocationRequest.setDebug(boolean debug)
Sets the debug mode of the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setDebug(boolean debug) |
InvocationRequest |
InvocationRequest.setErrorHandler(InvocationOutputHandler errorHandler)
Sets the handler used to capture the error output from the Maven build.
|
InvocationRequest |
DefaultInvocationRequest.setErrorHandler(InvocationOutputHandler errorHandler) |
InvocationRequest |
InvocationRequest.setFailureBehavior(String failureBehavior)
Sets the failure mode of the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setFailureBehavior(String failureBehavior) |
InvocationRequest |
InvocationRequest.setGlobalChecksumPolicy(String globalChecksumPolicy)
Sets the checksum mode of the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setGlobalChecksumPolicy(String globalChecksumPolicy) |
InvocationRequest |
InvocationRequest.setGoals(List goals)
Sets the goals for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setGoals(List goals) |
InvocationRequest |
InvocationRequest.setInputStream(InputStream inputStream)
Sets the input stream used to provide input for the invoked Maven build.
|
InvocationRequest |
DefaultInvocationRequest.setInputStream(InputStream inputStream) |
InvocationRequest |
InvocationRequest.setInteractive(boolean interactive)
Sets the interaction mode of the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setInteractive(boolean interactive) |
InvocationRequest |
InvocationRequest.setJavaHome(File javaHome)
Sets the path to the base directory of the Java installation used to run Maven.
|
InvocationRequest |
DefaultInvocationRequest.setJavaHome(File javaHome) |
InvocationRequest |
InvocationRequest.setLocalRepositoryDirectory(File localRepository)
Sets the path to the base directory of the local repository to use for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setLocalRepositoryDirectory(File localRepository) |
InvocationRequest |
InvocationRequest.setMavenOpts(String mavenOpts)
Sets the value of the
MAVEN_OPTS environment variable. |
InvocationRequest |
DefaultInvocationRequest.setMavenOpts(String mavenOpts) |
InvocationRequest |
InvocationRequest.setNonPluginUpdates(boolean nonPluginUpdates)
Specifies whether Maven should check for plugin updates.
|
InvocationRequest |
DefaultInvocationRequest.setNonPluginUpdates(boolean nonPluginUpdates) |
InvocationRequest |
InvocationRequest.setOffline(boolean offline)
Sets the network mode of the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setOffline(boolean offline) |
InvocationRequest |
InvocationRequest.setOutputHandler(InvocationOutputHandler outputHandler)
Sets the handler used to capture the standard output from the Maven build.
|
InvocationRequest |
DefaultInvocationRequest.setOutputHandler(InvocationOutputHandler outputHandler) |
InvocationRequest |
InvocationRequest.setPomFile(File pomFile)
Sets the path to the POM for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setPomFile(File pomFile) |
InvocationRequest |
InvocationRequest.setPomFileName(String pomFilename)
Sets the (unqualified) filename of the POM for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setPomFileName(String pomFilename) |
InvocationRequest |
InvocationRequest.setProfiles(List profiles)
Sets the profiles for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setProfiles(List profiles) |
InvocationRequest |
InvocationRequest.setProperties(Properties properties)
Sets the system properties for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setProperties(Properties properties) |
InvocationRequest |
InvocationRequest.setRecursive(boolean recursive)
Sets the recursion behavior of a reactor invocation.
|
InvocationRequest |
DefaultInvocationRequest.setRecursive(boolean recursive) |
InvocationRequest |
InvocationRequest.setShellEnvironmentInherited(boolean shellEnvironmentInherited)
Specifies whether the environment variables of the current process should be propagated to the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setShellEnvironmentInherited(boolean shellEnvironmentInherited) |
InvocationRequest |
InvocationRequest.setShowErrors(boolean showErrors)
Sets the exception output mode of the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setShowErrors(boolean showErrors) |
InvocationRequest |
InvocationRequest.setShowVersion(boolean showVersion)
enable displaying version without stopping the build (-V cli option)
|
InvocationRequest |
DefaultInvocationRequest.setShowVersion(boolean showVersion) |
InvocationRequest |
InvocationRequest.setUpdateSnapshots(boolean updateSnapshots)
Specifies whether Maven should enforce an update check for plugins and snapshots.
|
InvocationRequest |
DefaultInvocationRequest.setUpdateSnapshots(boolean updateSnapshots) |
InvocationRequest |
InvocationRequest.setUserSettingsFile(File userSettings)
Sets the path to the user settings for the Maven invocation.
|
InvocationRequest |
DefaultInvocationRequest.setUserSettingsFile(File userSettings) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.plexus.util.cli.Commandline |
MavenCommandLineBuilder.build(InvocationRequest request) |
InvocationResult |
Invoker.execute(InvocationRequest request)
Executes Maven using the parameters specified by the given invocation request.
|
InvocationResult |
DefaultInvoker.execute(InvocationRequest request) |
protected void |
MavenCommandLineBuilder.setEnvironmentPaths(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setFlags(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setGoals(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setPomLocation(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setProfiles(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setProperties(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setReactorBehavior(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setSettingsLocation(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
protected void |
MavenCommandLineBuilder.setShellEnvironment(InvocationRequest request,
org.codehaus.plexus.util.cli.Commandline cli) |
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.