public class BuildBase extends PluginConfigurationimplements Serializable , Cloneable
Constructor and Description |
---|
BuildBase()
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(String
Method addFilter.
|
void |
addResource(Resource
Method addResource.
|
void |
addTestResource(Resource
Method addTestResource.
|
BuildBase |
clone()
Method clone.
|
String |
getDefaultGoal()
Get the default goal (or phase in Maven 2) to execute when none is specified for the project.
|
String |
getDirectory()
Get the directory where all files generated by the build are placed.
|
List |
getFilters()
Method getFilters.
|
String |
getFinalName()
Get the filename (excluding the extension, and with no path information) that the produced artifact will be called.
|
List |
getResources()
Method getResources.
|
List |
getTestResources()
Method getTestResources.
|
void |
removeFilter(String
Method removeFilter.
|
void |
removeResource(Resource
Method removeResource.
|
void |
removeTestResource(Resource
Method removeTestResource.
|
void |
setDefaultGoal(String
Set the default goal (or phase in Maven 2) to execute when none is specified for the project.
|
void |
setDirectory(String
Set the directory where all files generated by the build are placed.
|
void |
setFilters(List
Set the list of filter properties files that are used when filtering is enabled.
|
void |
setFinalName(String
Set the filename (excluding the extension, and with no path information) that the produced artifact will be called.
|
void |
setResources(List
Set this element describes all of the classpath resources such as properties files associated with a project.
|
void |
setTestResources(List
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, setPlugins
public void addFilter(Stringstring)
string
-
public void addResource(Resourceresource)
resource
-
public void addTestResource(Resourceresource)
resource
-
public BuildBaseclone()
clone
in class
PluginConfiguration
public StringgetDefaultGoal()
public StringgetDirectory()
target
.
public StringgetFinalName()
${artifactId}-${version}
.
public void removeFilter(Stringstring)
string
-
public void removeResource(Resourceresource)
resource
-
public void removeTestResource(Resourceresource)
resource
-
public void setDefaultGoal(StringdefaultGoal)
defaultGoal
-
public void setDirectory(Stringdirectory)
target
.
directory
-
public void setFilters(List<String > filters)
filters
-
public void setFinalName(StringfinalName)
${artifactId}-${version}
.
finalName
-
public void setResources(List<Resource > resources)
src/main/resources
.
resources
-