| FlexDoc/XML XSDDoc Demo | XML Schema for Maven POM 4.0.0

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

complexType "Build"

Namespace: | http://maven.apache.org/POM/4.0.0
Content: | complex, 14 elements
Defined: | globally in maven-4.0.0.xsd; see XML source
Includes: | declarations of 14 elements
Referenced: | by 1 location

Component Diagram

XML Representation Summary
<...>
Content: | sourceDirectory? × scriptSourceDirectory? × testSourceDirectory? × outputDirectory? × testOutputDirectory? × extensions? × defaultGoal? × resources? × testResources? × directory? × finalName? × filters? × pluginManagement? × plugins?
</...>

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
ALL |  | 1..1 |  | this |
sourceDirectory | xs:string | 0..1 | no | this | 3.0.0+ 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`.
scriptSourceDirectory | xs:string | 0..1 | no | this | 4.0.0+ 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`.
testSourceDirectory | xs:string | 0..1 | no | this | 4.0.0+ 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`.
outputDirectory | xs:string | 0..1 | no | this | 4.0.0+ The directory where compiled application classes are placed. The default value is `target/classes`.
testOutputDirectory | xs:string | 0..1 | no | this | 4.0.0+ The directory where compiled test classes are placed. The default value is `target/test-classes`.
extensions | anonymous | 0..1 | no | this | 4.0.0+ A set of build extensions to use from this project.
defaultGoal | xs:string | 0..1 | no | this | 3.0.0+ 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.
resources | anonymous | 0..1 | no | this | 3.0.0+ This element describes all of the classpath resources such as properties files associated with a project. »
testResources | anonymous | 0..1 | no | this | 4.0.0+ This element describes all of the classpath resources such as properties files associated with a project's unit tests. »
directory | xs:string | 0..1 | no | this | 4.0.0+ The directory where all files generated by the build are placed. The default value is `target`.
finalName | xs:string | 0..1 | no | this | 4.0.0+ The filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is `${artifactId}-${version}`.
filters | anonymous | 0..1 | no | this | 4.0.0+ The list of filter properties files that are used when filtering is enabled.
pluginManagement | PluginManagement | 0..1 | no | this | 4.0.0+ Default plugin information to be made available for reference by projects derived from this one. »
plugins | anonymous | 0..1 | no | this | 4.0.0+ The list of plugins to use.

Description
version:
3.0.0+
description:
The `<build>` element contains informations required to build the project. Default values are defined in Super POM.
Related Components

- All Direct / Indirect Based Elements (1):
  build (in project)

Referenced By

- As direct type of local elements (1):
  build (in project)

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

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