@Component(role=MavenExecutor.class, hint="invoker") public class InvokerMavenExecutor extends AbstractMavenExecutor
Modifier and Type | Field and Description |
---|---|
static char |
ALTERNATE_USER_TOOLCHAINS
Constant
ALTERNATE_USER_TOOLCHAINS='t' |
Constructor and Description |
---|
InvokerMavenExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
executeGoals(File workingDirectory,
List<String> goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
String additionalArguments,
String pomFileName,
ReleaseResult result) |
protected org.apache.maven.shared.invoker.InvokerLogger |
getInvokerLogger()
getInvokerLogger.
|
protected org.apache.maven.shared.invoker.InvocationOutputHandler |
getOutputHandler()
getOutputHandler.
|
protected void |
setupRequest(org.apache.maven.shared.invoker.InvocationRequest req,
org.apache.maven.shared.invoker.InvokerLogger bridge,
String additionalArguments)
setupRequest.
|
enableLogging, encryptSettings, executeGoals, getLogger, getSettingsWriter
public static final char ALTERNATE_USER_TOOLCHAINS
ALTERNATE_USER_TOOLCHAINS='t'
protected void setupRequest(org.apache.maven.shared.invoker.InvocationRequest req, org.apache.maven.shared.invoker.InvokerLogger bridge, String additionalArguments) throws MavenExecutorException
setupRequest.
req
- a InvocationRequest
objectbridge
- a InvokerLogger
objectadditionalArguments
- a String
objectMavenExecutorException
- if any.public void executeGoals(File workingDirectory, List<String> goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult result) throws MavenExecutorException
executeGoals
in class AbstractMavenExecutor
MavenExecutorException
protected org.apache.maven.shared.invoker.InvokerLogger getInvokerLogger()
getInvokerLogger.
InvokerLogger
objectprotected org.apache.maven.shared.invoker.InvocationOutputHandler getOutputHandler()
getOutputHandler.
InvocationOutputHandler
objectCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.