Package org.apache.maven.model.v3_0_0
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The default goal (or phase in Maven 2) to execute when none is specified for the project.Field resources. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResource
(Resource resource) Method addResource.Get the default goal (or phase in Maven 2) to execute when none is specified for the project.Method getResources.void
removeResource
(Resource resource) Method removeResource.void
setDefaultGoal
(String defaultGoal) Set the default goal (or phase in Maven 2) to execute when none is specified for the project.void
setResources
(List<Resource> resources) Set this element describes all of the classpath resources such as properties files associated with a project.
-
Field Details
-
defaultGoal
The default goal (or phase in Maven 2) to execute when none is specified for the project. -
resources
Field resources.
-
-
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
Method getResources.- Returns:
- List
-
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
Set this element describes all of the classpath resources such as properties files associated with a project. These resources are often included in the final package.- Parameters:
resources
- a resources object.
-