complexType "Build"
Namespace:
Content:
complex, 14 elements
Defined:
globally in maven-4.0.0.xsd; see XML source
Includes:
definitions of 14 elements
Used:
Component Diagram
XML Representation Summary
<...>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
build  (in project)
Known Usage Locations
Annotation
version:
3.0.0+
description:
The <build> element contains informations required to build the project. Default values are defined in Super POM.
XML Source (w/o annotations (15); see within schema source)
<xs:complexType name="Build">
<xs:all>
<xs:element minOccurs="0" name="sourceDirectory" type="xs:string"/>
<xs:element minOccurs="0" name="scriptSourceDirectory" type="xs:string"/>
<xs:element minOccurs="0" name="testSourceDirectory" type="xs:string"/>
<xs:element minOccurs="0" name="outputDirectory" type="xs:string"/>
<xs:element minOccurs="0" name="testOutputDirectory" type="xs:string"/>
<xs:element minOccurs="0" name="extensions">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="extension" type="Extension"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="defaultGoal" type="xs:string"/>
<xs:element minOccurs="0" name="resources">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="resource" type="Resource"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="testResources">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="testResource" type="Resource"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="directory" type="xs:string"/>
<xs:element minOccurs="0" name="finalName" type="xs:string"/>
<xs:element minOccurs="0" name="filters">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="filter" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="pluginManagement" type="PluginManagement"/>
<xs:element minOccurs="0" name="plugins">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="plugin" type="Plugin"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 14/14)
defaultGoal
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
The default goal (or phase in Maven 2) to execute when none is specified for the project. Note that in case of a multi-module build, only the default goal of the top-level project is relevant, i.e. the default goals of child modules are ignored. Since Maven 3, multiple goals/phases can be separated by whitespace.
XML Representation Summary
<defaultGoal>
   
Content: 
{ xs:string }
</defaultGoal>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="defaultGoal" type="xs:string"/>

directory
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The directory where all files generated by the build are placed. The default value is target.
XML Representation Summary
<directory>
   
Content: 
{ xs:string }
</directory>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="directory" type="xs:string"/>

extensions
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
A set of build extensions to use from this project.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="extensions">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="extension" type="Extension"/>
</xs:sequence>
</xs:complexType>
</xs:element>

filters
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
The list of filter properties files that are used when filtering is enabled.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="filters">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="filter" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

finalName
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is ${artifactId}-${version}.
XML Representation Summary
<finalName>
   
Content: 
{ xs:string }
</finalName>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="finalName" type="xs:string"/>

outputDirectory
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The directory where compiled application classes are placed. The default value is target/classes.
XML Representation Summary
<outputDirectory>
   
Content: 
{ xs:string }
</outputDirectory>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="outputDirectory" type="xs:string"/>

pluginManagement
Type:
PluginManagement, complex content
version:
4.0.0+
description:
Default plugin information to be made available for reference by projects derived from this one. This plugin configuration will not be resolved or bound to the lifecycle unless referenced. Any local configuration for a given plugin will override the plugin's entire definition here.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="pluginManagement" type="PluginManagement"/>

plugins
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
The list of plugins to use.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="plugins">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="plugin" type="Plugin"/>
</xs:sequence>
</xs:complexType>
</xs:element>

resources
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
This element describes all of the classpath resources such as properties files associated with a project. These resources are often included in the final package. The default value is src/main/resources.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="resources">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="resource" type="Resource"/>
</xs:sequence>
</xs:complexType>
</xs:element>

scriptSourceDirectory
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
This element specifies a directory containing the script sources of the project. This directory is meant to be different from the sourceDirectory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled). The default value is src/main/scripts.
XML Representation Summary
<scriptSourceDirectory>
   
Content: 
{ xs:string }
</scriptSourceDirectory>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="scriptSourceDirectory" type="xs:string"/>

sourceDirectory
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
This element specifies a directory containing the source of the project. The generated build system will compile the sources from this directory when the project is built. The path given is relative to the project descriptor. The default value is src/main/java.
XML Representation Summary
<sourceDirectory>
   
Content: 
{ xs:string }
</sourceDirectory>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="sourceDirectory" type="xs:string"/>

testOutputDirectory
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The directory where compiled test classes are placed. The default value is target/test-classes.
XML Representation Summary
<testOutputDirectory>
   
Content: 
{ xs:string }
</testOutputDirectory>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="testOutputDirectory" type="xs:string"/>

testResources
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
This element describes all of the classpath resources such as properties files associated with a project's unit tests. The default value is src/test/resources.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="testResources">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="testResource" type="Resource"/>
</xs:sequence>
</xs:complexType>
</xs:element>

testSourceDirectory
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
This element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor. The default value is src/test/java.
XML Representation Summary
<testSourceDirectory>
   
Content: 
{ xs:string }
</testSourceDirectory>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="testSourceDirectory" type="xs:string"/>

XML schema documentation generated with FlexDoc/XML 1.13 using FlexDoc/XML XSDDoc 2.9.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.