Class Maven3Config
- java.lang.Object
-
- com.atlassian.bamboo.plugins.maven.task.AbstractMavenConfig
-
- com.atlassian.bamboo.plugins.maven.task.Maven3Config
-
public class Maven3Config extends AbstractMavenConfig
-
-
Field Summary
Fields Modifier and Type Field Description static String
M3_CAPABILITY_PREFIX
static String
M3_EXECUTABLE_KEY
-
Fields inherited from class com.atlassian.bamboo.plugins.maven.task.AbstractMavenConfig
builderHomePath, CFG_GOALS, CFG_USE_MAVEN_RETURN_CODE, extraEnvironment
-
-
Constructor Summary
Constructors Constructor Description Maven3Config(@NotNull CommonTaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getExecutableName()
This is only a hint for the executable to search for in the path.protected @NotNull String
getMavenExecutablePath(@NotNull String homePath)
-
Methods inherited from class com.atlassian.bamboo.plugins.maven.task.AbstractMavenConfig
getCommandline, getExtraEnvironment, getTestResultsFilePattern, getWorkingDirectory, isHasTests, useMavenReturnCode
-
-
-
-
Field Detail
-
M3_EXECUTABLE_KEY
public static final String M3_EXECUTABLE_KEY
- See Also:
- Constant Field Values
-
M3_CAPABILITY_PREFIX
public static final String M3_CAPABILITY_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Maven3Config
public Maven3Config(@NotNull @NotNull CommonTaskContext taskContext, @NotNull @NotNull CapabilityContext capabilityContext, @NotNull @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
-
Method Detail
-
getExecutableName
public static String getExecutableName()
This is only a hint for the executable to search for in the path. It's not used ingetMavenExecutablePath(String)
-
getMavenExecutablePath
@NotNull protected @NotNull String getMavenExecutablePath(@NotNull @NotNull String homePath)
- Overrides:
getMavenExecutablePath
in classAbstractMavenConfig
-
-