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