public class Build extends LocatedTreeImpl
<build> element contains informations required to build the project.
Default values are defined in Super POM.
Java class for Build complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Build">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="sourceDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="scriptSourceDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="testSourceDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="outputDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="testOutputDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="extensions" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="extension" type="{http://maven.apache.org/POM/4.0.0}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="defaultGoal" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="resources" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="resource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="testResources" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="testResource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="directory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="finalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="filters" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="pluginManagement" type="{http://maven.apache.org/POM/4.0.0}PluginManagement" minOccurs="0"/>
<element name="plugins" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Build.Extensions
Java class for anonymous complex type.
|
static class |
Build.Filters
Java class for anonymous complex type.
|
static class |
Build.Plugins
Java class for anonymous complex type.
|
static class |
Build.Resources
Java class for anonymous complex type.
|
static class |
Build.TestResources
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected LocatedAttribute |
defaultGoal |
protected LocatedAttribute |
directory |
protected Build.Extensions |
extensions |
protected Build.Filters |
filters |
protected LocatedAttribute |
finalName |
protected LocatedAttribute |
outputDirectory |
protected PluginManagement |
pluginManagement |
protected Build.Plugins |
plugins |
protected Build.Resources |
resources |
protected LocatedAttribute |
scriptSourceDirectory |
protected LocatedAttribute |
sourceDirectory |
protected LocatedAttribute |
testOutputDirectory |
protected Build.TestResources |
testResources |
protected LocatedAttribute |
testSourceDirectory |
endLocation, startLocation| Constructor and Description |
|---|
Build() |
| Modifier and Type | Method and Description |
|---|---|
LocatedAttribute |
getDefaultGoal()
Gets the value of the defaultGoal property.
|
LocatedAttribute |
getDirectory()
Gets the value of the directory property.
|
Build.Extensions |
getExtensions()
Gets the value of the extensions property.
|
Build.Filters |
getFilters()
Gets the value of the filters property.
|
LocatedAttribute |
getFinalName()
Gets the value of the finalName property.
|
LocatedAttribute |
getOutputDirectory()
Gets the value of the outputDirectory property.
|
PluginManagement |
getPluginManagement()
Gets the value of the pluginManagement property.
|
Build.Plugins |
getPlugins()
Gets the value of the plugins property.
|
Build.Resources |
getResources()
Gets the value of the resources property.
|
LocatedAttribute |
getScriptSourceDirectory()
Gets the value of the scriptSourceDirectory property.
|
LocatedAttribute |
getSourceDirectory()
Gets the value of the sourceDirectory property.
|
LocatedAttribute |
getTestOutputDirectory()
Gets the value of the testOutputDirectory property.
|
Build.TestResources |
getTestResources()
Gets the value of the testResources property.
|
LocatedAttribute |
getTestSourceDirectory()
Gets the value of the testSourceDirectory property.
|
void |
setDefaultGoal(LocatedAttribute value)
Sets the value of the defaultGoal property.
|
void |
setDirectory(LocatedAttribute value)
Sets the value of the directory property.
|
void |
setExtensions(Build.Extensions value)
Sets the value of the extensions property.
|
void |
setFilters(Build.Filters value)
Sets the value of the filters property.
|
void |
setFinalName(LocatedAttribute value)
Sets the value of the finalName property.
|
void |
setOutputDirectory(LocatedAttribute value)
Sets the value of the outputDirectory property.
|
void |
setPluginManagement(PluginManagement value)
Sets the value of the pluginManagement property.
|
void |
setPlugins(Build.Plugins value)
Sets the value of the plugins property.
|
void |
setResources(Build.Resources value)
Sets the value of the resources property.
|
void |
setScriptSourceDirectory(LocatedAttribute value)
Sets the value of the scriptSourceDirectory property.
|
void |
setSourceDirectory(LocatedAttribute value)
Sets the value of the sourceDirectory property.
|
void |
setTestOutputDirectory(LocatedAttribute value)
Sets the value of the testOutputDirectory property.
|
void |
setTestResources(Build.TestResources value)
Sets the value of the testResources property.
|
void |
setTestSourceDirectory(LocatedAttribute value)
Sets the value of the testSourceDirectory property.
|
endLocation, setEndLocation, setStartLocation, startLocationprotected LocatedAttribute sourceDirectory
protected LocatedAttribute scriptSourceDirectory
protected LocatedAttribute testSourceDirectory
protected LocatedAttribute outputDirectory
protected LocatedAttribute testOutputDirectory
protected Build.Extensions extensions
protected LocatedAttribute defaultGoal
protected Build.Resources resources
protected Build.TestResources testResources
protected LocatedAttribute directory
protected LocatedAttribute finalName
protected Build.Filters filters
protected PluginManagement pluginManagement
protected Build.Plugins plugins
public LocatedAttribute getSourceDirectory()
Stringpublic void setSourceDirectory(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getScriptSourceDirectory()
Stringpublic void setScriptSourceDirectory(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getTestSourceDirectory()
Stringpublic void setTestSourceDirectory(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getOutputDirectory()
Stringpublic void setOutputDirectory(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getTestOutputDirectory()
Stringpublic void setTestOutputDirectory(LocatedAttribute value)
value - allowed object is
Stringpublic Build.Extensions getExtensions()
Build.Extensionspublic void setExtensions(Build.Extensions value)
value - allowed object is
Build.Extensionspublic LocatedAttribute getDefaultGoal()
Stringpublic void setDefaultGoal(LocatedAttribute value)
value - allowed object is
Stringpublic Build.Resources getResources()
Build.Resourcespublic void setResources(Build.Resources value)
value - allowed object is
Build.Resourcespublic Build.TestResources getTestResources()
Build.TestResourcespublic void setTestResources(Build.TestResources value)
value - allowed object is
Build.TestResourcespublic LocatedAttribute getDirectory()
Stringpublic void setDirectory(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getFinalName()
Stringpublic void setFinalName(LocatedAttribute value)
value - allowed object is
Stringpublic Build.Filters getFilters()
Build.Filterspublic void setFilters(Build.Filters value)
value - allowed object is
Build.Filterspublic PluginManagement getPluginManagement()
PluginManagementpublic void setPluginManagement(PluginManagement value)
value - allowed object is
PluginManagementpublic Build.Plugins getPlugins()
Build.Pluginspublic void setPlugins(Build.Plugins value)
value - allowed object is
Build.PluginsCopyright © 2012–2016 SonarSource. All rights reserved.