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:
java.io.Serializable
- Direct Known Subclasses:
Build
public class BuildBase extends PluginConfiguration implements java.io.Serializable
Generic informations for a build.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
defaultGoal
The default goal (or phase in Maven 2) to execute when none is specified for the project.private java.util.List<Resource>
resources
Field resources.
-
Constructor Summary
Constructors Constructor Description BuildBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResource(Resource resource)
Method addResource.java.lang.String
getDefaultGoal()
Get the default goal (or phase in Maven 2) to execute when none is specified for the project.java.util.List<Resource>
getResources()
Method getResources.void
removeResource(Resource resource)
Method removeResource.void
setDefaultGoal(java.lang.String defaultGoal)
Set the default goal (or phase in Maven 2) to execute when none is specified for the project.void
setResources(java.util.List<Resource> resources)
Set this element describes all of the classpath resources such as properties files associated with a project.
-
-
-
Field Detail
-
defaultGoal
private java.lang.String defaultGoal
The default goal (or phase in Maven 2) to execute when none is specified for the project.
-
resources
private java.util.List<Resource> resources
Field resources.
-
-
Method Detail
-
addResource
public void addResource(Resource resource)
Method addResource.- Parameters:
resource
- a resource object.
-
getDefaultGoal
public java.lang.String getDefaultGoal()
Get the default goal (or phase in Maven 2) to execute when none is specified for the project.- Returns:
- String
-
getResources
public java.util.List<Resource> getResources()
Method getResources.- Returns:
- List
-
removeResource
public void removeResource(Resource resource)
Method removeResource.- Parameters:
resource
- a resource object.
-
setDefaultGoal
public void setDefaultGoal(java.lang.String defaultGoal)
Set the default goal (or phase in Maven 2) to execute when none is specified for the project.- Parameters:
defaultGoal
- a defaultGoal object.
-
setResources
public void setResources(java.util.List<Resource> resources)
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.
-
-