|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.PluginContainer org.apache.maven.model.PluginConfiguration org.apache.maven.model.BuildBase
public class BuildBase
Generic informations for a build.
Constructor Summary | |
---|---|
BuildBase()
|
Method Summary | |
---|---|
void |
addFilter(String string)
Method addFilter. |
void |
addResource(Resource resource)
Method addResource. |
void |
addTestResource(Resource resource)
Method addTestResource. |
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. |
Methods inherited from class org.apache.maven.model.PluginConfiguration |
---|
getPluginManagement, setPluginManagement |
Methods inherited from class org.apache.maven.model.PluginContainer |
---|
addPlugin, flushPluginMap, getPlugins, getPluginsAsMap, removePlugin, setPlugins |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildBase()
Method Detail |
---|
public void addFilter(String string)
string
- public void addResource(Resource resource)
resource
- public void addTestResource(Resource resource)
resource
- public String getDefaultGoal()
public String getDirectory()
public List<String> getFilters()
public String getFinalName()
${artifactId}-${version}
.
public List<Resource> getResources()
public List<Resource> getTestResources()
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)
directory
- public void setFilters(List<String> filters)
filters
- public void setFinalName(String finalName)
${artifactId}-${version}
.
finalName
- public void setResources(List<Resource> resources)
resources
- public void setTestResources(List<Resource> testResources)
testResources
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |