public class InvokerStartExecutionHandler extends AbstractExecutionHandler
org.apache.maven.plugins:maven-invoker-plugin:run goal :
it will append the JENKINS_MAVEN_AGENT_DISABLED (set to true) to
the environment.
Thus our spy will not run during Invoker integration tests, to avoid recording integration tests artifacts and dependencies.
reporter| Constructor and Description |
|---|
InvokerStartExecutionHandler(MavenEventReporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_handle(org.apache.maven.execution.ExecutionEvent executionEvent) |
protected List<String> |
getConfigurationParametersToReport(org.apache.maven.execution.ExecutionEvent executionEvent) |
protected String |
getSupportedPluginGoal() |
protected org.apache.maven.execution.ExecutionEvent.Type |
getSupportedType() |
addDetails, fullClone, getMojoConfigurationValue, handle, toStringgetMavenFlattenPluginFlattenedPomFilename, newElement, newElement, newElement, newElement, newElementpublic InvokerStartExecutionHandler(MavenEventReporter reporter)
@Nullable protected org.apache.maven.execution.ExecutionEvent.Type getSupportedType()
getSupportedType in class AbstractExecutionHandlernull if all event types are supported by this AbstractExecutionHandler@Nullable protected String getSupportedPluginGoal()
getSupportedPluginGoal in class AbstractExecutionHandlernull if all goals are supported by this AbstractExecutionHandler@Nonnull protected List<String> getConfigurationParametersToReport(org.apache.maven.execution.ExecutionEvent executionEvent)
getConfigurationParametersToReport in class AbstractExecutionHandlerpublic boolean _handle(org.apache.maven.execution.ExecutionEvent executionEvent)
_handle in class AbstractExecutionHandlerCopyright © 2016–2019. All rights reserved.