Class MavenBatchModeCommandDecorator
java.lang.Object
com.atlassian.bamboo.plugins.maven.decorator.MavenBatchModeCommandDecorator
- All Implemented Interfaces:
TaskProcessCommandDecorator,BambooPluginModule
This class will automatically add '--batch-mode' to any Maven 2 and 3 commands that do not already contain '--batch-mode'.
This is because sometimes users don't include it themselves and so the build can hang, waiting for user input.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MavenBatchModeCommandDecorator
public MavenBatchModeCommandDecorator()
-
-
Method Details
-
decorate
@NotNull public @NotNull List<String> decorate(@NotNull @NotNull TaskContext taskContext, @NotNull @NotNull List<String> command) - Specified by:
decoratein interfaceTaskProcessCommandDecorator
-