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 Constructor Description MavenDependenciesProcessorTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MavenDependenciesProcessorTaskalternatePathForTheGlobalSettingsFile(@Nullable java.lang.String alternatePathForTheGlobalSettingsFile)Specify alternative location for global settings file.MavenDependenciesProcessorTaskalternatePathForTheUserSettingsFile(@Nullable java.lang.String alternatePathForTheUserSettingsFile)Specify alternative location for user settings file.protected @NotNull MavenDependenciesProcessorTaskPropertiesbuild()booleanequals(java.lang.Object o)inthashCode()MavenDependenciesProcessorTaskoverrideProjectFile(@Nullable java.lang.String overrideProjectFile)Path to the project file, relative to the working subdirectory.MavenDependenciesProcessorTaskpathToMavenLocalRepository(@Nullable java.lang.String pathToMavenLocalRepository)Specify alternative location for Maven local repository.MavenDependenciesProcessorTaskworkingSubdirectory(@Nullable java.lang.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
-
-
-
-
Method Detail
-
overrideProjectFile
public MavenDependenciesProcessorTask overrideProjectFile(@Nullable @Nullable java.lang.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 java.lang.String workingSubdirectory)
Specify an alternative subdirectory as working directory for the task.
-
alternatePathForTheGlobalSettingsFile
public MavenDependenciesProcessorTask alternatePathForTheGlobalSettingsFile(@Nullable @Nullable java.lang.String alternatePathForTheGlobalSettingsFile)
Specify alternative location for global settings file. If left blank builtin Maven settings will be used.
-
alternatePathForTheUserSettingsFile
public MavenDependenciesProcessorTask alternatePathForTheUserSettingsFile(@Nullable @Nullable java.lang.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 java.lang.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
@NotNull protected @NotNull MavenDependenciesProcessorTaskProperties build()
- Specified by:
buildin classTask<MavenDependenciesProcessorTask,MavenDependenciesProcessorTaskProperties>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classTask<MavenDependenciesProcessorTask,MavenDependenciesProcessorTaskProperties>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTask<MavenDependenciesProcessorTask,MavenDependenciesProcessorTaskProperties>
-
-