public class BuildBase extends PluginConfiguration implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and 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.lang.String |
directory
The directory where all files generated by the
build are placed.
|
private java.util.List<java.lang.String> |
filters
Field filters.
|
private java.lang.String |
finalName
The filename (excluding the extension, and with
no path information) that
the produced artifact will be called.
|
private java.util.List<Resource> |
resources
Field resources.
|
private java.util.List<Resource> |
testResources
Field testResources.
|
pluginMap
Constructor and Description |
---|
BuildBase() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String string)
Method addFilter.
|
void |
addResource(Resource resource)
Method addResource.
|
void |
addTestResource(Resource resource)
Method addTestResource.
|
BuildBase |
clone()
Method clone.
|
java.lang.String |
getDefaultGoal()
Get the default goal (or phase in Maven 2) to execute when
none is specified for
the project.
|
java.lang.String |
getDirectory()
Get the directory where all files generated by the build are
placed.
|
java.util.List<java.lang.String> |
getFilters()
Method getFilters.
|
java.lang.String |
getFinalName()
Get the filename (excluding the extension, and with no path
information) that
the produced artifact will be called.
|
java.util.List<Resource> |
getResources()
Method getResources.
|
java.util.List<Resource> |
getTestResources()
Method getTestResources.
|
void |
removeFilter(java.lang.String string)
Method removeFilter.
|
void |
removeResource(Resource resource)
Method removeResource.
|
void |
removeTestResource(Resource resource)
Method removeTestResource.
|
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 |
setDirectory(java.lang.String directory)
Set the directory where all files generated by the build are
placed.
|
void |
setFilters(java.util.List<java.lang.String> filters)
Set the list of filter properties files that are used when
filtering is enabled.
|
void |
setFinalName(java.lang.String finalName)
Set the filename (excluding the extension, and with no path
information) that
the produced artifact will be called.
|
void |
setResources(java.util.List<Resource> resources)
Set this element describes all of the classpath resources
such as properties
files associated with a project.
|
void |
setTestResources(java.util.List<Resource> testResources)
Set this element describes all of the classpath resources
such as properties
files associated with a project's unit tests.
|
getPluginManagement, setPluginManagement
addPlugin, flushPluginMap, getLocation, getPlugins, getPluginsAsMap, removePlugin, setLocation, setOtherLocation, setPlugins
private java.lang.String defaultGoal
private java.util.List<Resource> resources
private java.util.List<Resource> testResources
private java.lang.String directory
target
.private java.lang.String finalName
${artifactId}-${version}
.private java.util.List<java.lang.String> filters
public void addFilter(java.lang.String string)
string
- a string object.public void addResource(Resource resource)
resource
- a resource object.public void addTestResource(Resource resource)
resource
- a resource object.public BuildBase clone()
clone
in class PluginConfiguration
public java.lang.String getDefaultGoal()
public java.lang.String getDirectory()
target
.public java.util.List<java.lang.String> getFilters()
public java.lang.String getFinalName()
${artifactId}-${version}
.public java.util.List<Resource> getResources()
public java.util.List<Resource> getTestResources()
public void removeFilter(java.lang.String string)
string
- a string object.public void removeResource(Resource resource)
resource
- a resource object.public void removeTestResource(Resource resource)
resource
- a resource object.public void setDefaultGoal(java.lang.String defaultGoal)
defaultGoal
- a defaultGoal object.public void setDirectory(java.lang.String directory)
target
.directory
- a directory object.public void setFilters(java.util.List<java.lang.String> filters)
filters
- a filters object.public void setFinalName(java.lang.String finalName)
${artifactId}-${version}
.finalName
- a finalName object.public void setResources(java.util.List<Resource> resources)
src/main/resources
.resources
- a resources object.public void setTestResources(java.util.List<Resource> testResources)
src/test/resources
.testResources
- a testResources object.