Class BuildBase
java.lang.Object
org.apache.maven.model.v3_0_0.PluginContainer
org.apache.maven.model.v3_0_0.PluginConfiguration
org.apache.maven.model.v3_0_0.BuildBase
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Build
Generic informations for a build.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResource(Resource resource) Method addResource.Get the default goal (or phase in Maven 2) to execute when none is specified for the project.Method getResources.voidremoveResource(Resource resource) Method removeResource.voidsetDefaultGoal(String defaultGoal) Set the default goal (or phase in Maven 2) to execute when none is specified for the project.voidsetResources(List<Resource> resources) Set this element describes all of the classpath resources such as properties files associated with a project.
-
Constructor Details
-
BuildBase
public BuildBase()
-
-
Method Details
-
addResource
Method addResource.- Parameters:
resource- a resource object.
-
getDefaultGoal
Get the default goal (or phase in Maven 2) to execute when none is specified for the project.- Returns:
- String
-
getResources
-
removeResource
Method removeResource.- Parameters:
resource- a resource object.
-
setDefaultGoal
Set the default goal (or phase in Maven 2) to execute when none is specified for the project.- Parameters:
defaultGoal- a defaultGoal object.
-
setResources
-