complexType Build

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

Abstractfalse (This can be used in an instance)
Target Namespacehttp://maven.apache.org/POM/3.0.0
Declared Namespacesxmlns:xs=http://www.w3.org/2001/XMLSchema
xmlns=http://maven.apache.org/POM/3.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="nagEmailAddress" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
An address to which notifications regarding the status of builds
for this project can be sent. This is intended for use by tools
which do unattended builds, for example those providing for
continuous integration. Currently this is used by the
<a href="/plugins/gump/">gump plugin</a>
target.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="sourceDirectory" type="xs:string" minOccurs="0">
            <
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="unitTestSourceDirectory" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.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="aspectSourceDirectory" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
This element specifies a directory containing Aspect
sources of the project. The generated build system will
compile the Aspects in this directory when the project is
built if Aspects have been enabled (see the
<a
href="/plugins/aspectj/goals.html">Aspectj goals</a> document).
The path given is relative to the project descriptor.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="integrationUnitTestSourceDirectory" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
This element specifies a directory containing integration test
sources of the project.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="sourceModifications" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
This element describes all of the sourceModifications associated
with a project. Each source modification is described by a
<code>sourceModification</code> element, which is then described by
additional elements (described below). These modifications are used
to exclude or include various source depending on the environment
the build is running in.
                
</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="sourceModification" type="SourceModification" minOccurs="0"
                        
maxOccurs="unbounded"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
        <
xs:element name="unitTest" type="UnitTest" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">This element specifies unit tests associated with the project.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="defaultGoal" type="xs:string" minOccurs="0">
            <
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" type="Resource" minOccurs="0" maxOccurs="unbounded"/>
                </
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.