complexType Build

complexType {http://maven.apache.org/POM/4.0.0}Build

Abstractfalse (This can be used in an instance)
Target Namespacehttp://maven.apache.org/POM/4.0.0
Declared Namespacesxmlns:xs=http://www.w3.org/2001/XMLSchema
xmlns=http://maven.apache.org/POM/4.0.0


Source

<xs:complexType name="Build">
    <
xs:annotation>
        <
xs:documentation source="version">3.0.0+</xs:documentation>
    </
xs:annotation>
    <
xs:all>
        <
xs:element name="sourceDirectory" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0+</xs:documentation>
                <
xs:documentation source="description">
This element specifies a directory containing the source
of the project. The generated build system will compile
the source in this directory when the project is built.
The path given is relative to the project descriptor.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="scriptSourceDirectory" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="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).
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="testSourceDirectory" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="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 unit tests must use the JUnit test framework.
The path given is relative to the project descriptor.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="outputDirectory" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">The directory where compiled application classes are placed.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="testOutputDirectory" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">The directory where compiled test classes are placed.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="extensions" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">A set of build extensions to use from this project.</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="extension" minOccurs="0" maxOccurs="unbounded" type="Extension"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
        <
xs:element name="defaultGoal" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0+</xs:documentation>
                <
xs:documentation source="description">The default goal (or phase in Maven 2) to execute when none is specified for the project.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="resources" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0+</xs:documentation>
                <
xs:documentation source="description">
This element describes all of the resources associated with a
project or unit tests. Each resource is described by a resource
element, which is then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete
the jar file or to run unit test.
                
</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="resource" minOccurs="0" maxOccurs="unbounded" type="Resource"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
        <
xs:element name="testResources" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">
This element describes all of the resources associated with a
project's unit tests. Each resource is described by a resource
element, which is then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete
the jar file or to run unit test.
                
</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="testResource" minOccurs="0" maxOccurs="unbounded"
                        
type="Resource"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
        <
xs:element name="directory" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">The directory where all files generated by the build is placed.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="finalName" minOccurs="0" type="xs:string">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">
The filename (including an extension, but with no path information) that the produced artifact
will be called. The default value is artifactId-version.extension (where extension is derived from
type).
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="filters" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">The list of filter properties files that are used when filtering is enabled.</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="filter" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
        <
xs:element name="pluginManagement" minOccurs="0" type="PluginManagement">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">
Default plugin information to be made available for reference by
projects derived from this one. This plugin configuration will not
be validated or bound to the lifecycle unless referenced. Any local
configuration for a given plugin will override the plugin's entire
definition here.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="plugins" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">4.0.0</xs:documentation>
                <
xs:documentation source="description">
The plugins specified here are not validated until they
are referenced in a POM within the group. This allows the
specification of a "standard" version for a particular
plugin.
                
</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="plugin" minOccurs="0" maxOccurs="unbounded" type="Plugin"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
    </
xs:all>
</
xs:complexType>


Documentation

See also: version
3.0.0+


complexType Build


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.