Class MavenDependenciesProcessorTask
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.task.Task<MavenDependenciesProcessorTask,MavenDependenciesProcessorTaskProperties>
com.atlassian.bamboo.specs.builders.task.MavenDependenciesProcessorTask
public class MavenDependenciesProcessorTask
extends Task<MavenDependenciesProcessorTask,MavenDependenciesProcessorTaskProperties>
Automatically update Plan dependencies by analysing the Maven pom file with every build.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternatePathForTheGlobalSettingsFile
(@Nullable String alternatePathForTheGlobalSettingsFile) Specify alternative location for global settings file.alternatePathForTheUserSettingsFile
(@Nullable String alternatePathForTheUserSettingsFile) Specify alternative location for user settings file.protected @NotNull MavenDependenciesProcessorTaskProperties
build()
boolean
int
hashCode()
overrideProjectFile
(@Nullable String overrideProjectFile) Path to the project file, relative to the working subdirectory.pathToMavenLocalRepository
(@Nullable String pathToMavenLocalRepository) Specify alternative location for Maven local repository.workingSubdirectory
(@Nullable String workingSubdirectory) Specify an alternative subdirectory as working directory for the task.Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Constructor Details
-
MavenDependenciesProcessorTask
public MavenDependenciesProcessorTask()
-
-
Method Details
-
overrideProjectFile
public MavenDependenciesProcessorTask overrideProjectFile(@Nullable @Nullable String overrideProjectFile) Path to the project file, relative to the working subdirectory. If left blank Maven will use the pom.xml in the root of the working subdirectory -
workingSubdirectory
public MavenDependenciesProcessorTask workingSubdirectory(@Nullable @Nullable String workingSubdirectory) Specify an alternative subdirectory as working directory for the task. -
alternatePathForTheGlobalSettingsFile
public MavenDependenciesProcessorTask alternatePathForTheGlobalSettingsFile(@Nullable @Nullable String alternatePathForTheGlobalSettingsFile) Specify alternative location for global settings file. If left blank builtin Maven settings will be used. -
alternatePathForTheUserSettingsFile
public MavenDependenciesProcessorTask alternatePathForTheUserSettingsFile(@Nullable @Nullable String alternatePathForTheUserSettingsFile) Specify alternative location for user settings file. If left blank $HOME/.m2/settings.xml will be used. -
pathToMavenLocalRepository
public MavenDependenciesProcessorTask pathToMavenLocalRepository(@Nullable @Nullable String pathToMavenLocalRepository) Specify alternative location for Maven local repository. If left blank location will be established using configuration files and default value of $HOME/.m2/repository. -
build
- Specified by:
build
in classTask<MavenDependenciesProcessorTask,
MavenDependenciesProcessorTaskProperties>
-
equals
- Overrides:
equals
in classTask<MavenDependenciesProcessorTask,
MavenDependenciesProcessorTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTask<MavenDependenciesProcessorTask,
MavenDependenciesProcessorTaskProperties>
-