Modifier and Type | Class and Description |
---|---|
class |
DefaultInvoker
Class intended to be used by clients who wish to invoke a forked Maven process from their applications
|
Modifier and Type | Method and Description |
---|---|
Invoker |
Invoker.setErrorHandler(InvocationOutputHandler errorHandler)
Sets the handler used to capture the error output from the Maven build.
|
Invoker |
DefaultInvoker.setErrorHandler(InvocationOutputHandler errorHandler) |
Invoker |
Invoker.setInputStream(InputStream inputStream)
Sets the input stream used to provide input for the invoked Maven build.
|
Invoker |
DefaultInvoker.setInputStream(InputStream inputStream) |
Invoker |
Invoker.setLocalRepositoryDirectory(File localRepositoryDirectory)
Sets the path to the base directory of the local repository to use for the Maven invocation.
|
Invoker |
DefaultInvoker.setLocalRepositoryDirectory(File localRepositoryDirectory) |
Invoker |
Invoker.setLogger(InvokerLogger logger)
Sets the logger used by this invoker to output diagnostic messages.
|
Invoker |
DefaultInvoker.setLogger(InvokerLogger logger) |
Invoker |
Invoker.setMavenExecutable(File mavenExecutable)
mavenExecutable can either be a file relative to ${maven.home}/bin/ or an absolute file. |
Invoker |
DefaultInvoker.setMavenExecutable(File mavenExecutable) |
Invoker |
Invoker.setMavenHome(File mavenHome)
Sets the path to the base directory of the Maven installation used to invoke Maven.
|
Invoker |
DefaultInvoker.setMavenHome(File mavenHome) |
Invoker |
Invoker.setOutputHandler(InvocationOutputHandler outputHandler)
Sets the handler used to capture the standard output from the Maven build.
|
Invoker |
DefaultInvoker.setOutputHandler(InvocationOutputHandler outputHandler) |
Invoker |
Invoker.setWorkingDirectory(File workingDirectory)
Sets the working directory for the Maven invocation.
|
Invoker |
DefaultInvoker.setWorkingDirectory(File workingDirectory) |
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.