首页 > 其他 > 详细

8) pom.xml

时间:2016-08-02 23:42:44      阅读:546      评论:0      收藏:0      [点我收藏+]

http://maven.apache.org/xsd/maven-4.0.0.xsd

技术分享
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0"
    elementFormDefault="qualified" targetNamespace="http://maven.apache.org/POM/4.0.0">
    <xs:element name="project" type="Model">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                The
                <code>&lt;project&gt;</code>
                element is the root of the descriptor. The following table lists all
                of the possible child elements.
            </xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:complexType name="Model">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                The
                <code>&lt;project&gt;</code>
                element is the root of the descriptor. The following table lists all
                of the possible child elements.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="parent" minOccurs="0" type="Parent">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The location of the parent project, if one exists. Values from the
                        parent project will be the default for this project if they are
                        left unspecified. The location is given as a group ID, artifact ID
                        and version.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="modelVersion" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Declares to which version of project descriptor this POM conforms.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="groupId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        A universally unique identifier for a project. It is normal to use
                        a fully-qualified package name to distinguish it from other
                        projects with a similar name (eg.
                        <code>org.apache.maven</code>
                        ).
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The identifier for this artifact that is unique within the group
                        given by the group ID. An artifact is something that is either
                        produced or used by a project. Examples of artifacts produced by
                        Maven for a project include: JARs, source and binary
                        distributions, and WARs.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="packaging" minOccurs="0" type="xs:string"
                default="jar">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The type of artifact this project produces, for example
                        <code>jar</code>
                        <code>war</code>
                        <code>ear</code>
                        <code>pom</code>
                        . Plugins can create their own packaging, and therefore their own
                        packaging types, so this list does not contain all possible types.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The full name of the
                        project.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The current version of the artifact produced by this project.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="description" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        A detailed description of the project, used by Maven whenever it
                        needs to describe the project, such as on the web site. While this
                        element can be specified as CDATA to enable the use of HTML tags
                        within the description, it is discouraged to allow plain text
                        representation. If you need to modify the index page of the
                        generated web site, you are able to specify your own instead of
                        adjusting this text.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The URL to the project‘s
                        homepage.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="prerequisites" minOccurs="0" type="Prerequisites">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Describes the prerequisites in the build environment for this project.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="issueManagement" minOccurs="0"
                type="IssueManagement">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The project‘s issue
                        management system information.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ciManagement" minOccurs="0" type="CiManagement">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The project‘s continuous
                        integration information.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="inceptionYear" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The year of the project‘s inception, specified with 4 digits. This
                        value is used when generating copyright notices as well as being
                        informational.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="mailingLists" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Contains information about a project‘s mailing lists.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="mailingList" minOccurs="0" maxOccurs="unbounded"
                            type="MailingList" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="developers" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">Describes the committers
                        of a project.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="developer" minOccurs="0" maxOccurs="unbounded"
                            type="Developer" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="contributors" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Describes the contributors to a project that are not yet committers.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="contributor" minOccurs="0" maxOccurs="unbounded"
                            type="Contributor" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="licenses" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        This element describes all of the licenses for this project. Each
                        license is described by a
                        <code>license</code>
                        element, which is then described by additional elements. Projects
                        should only list the license(s) that applies to the project and
                        not the licenses that apply to dependencies. If multiple licenses
                        are listed, it is assumed that the user can select any of them,
                        not that they must accept all.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="license" minOccurs="0" maxOccurs="unbounded"
                            type="License" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="scm" minOccurs="0" type="Scm">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Specification for the SCM used by the project, such as CVS, Subversion, etc.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="organization" minOccurs="0" type="Organization">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        This element describes various attributes of the organization to which
                        the project belongs. These attributes are utilized when
                        documentation is created (for copyright notices and links).
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="build" minOccurs="0" type="Build">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">Information required to
                        build the project.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="profiles" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        A listing of project-local build profiles which will modify the
                        build process when activated.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="profile" minOccurs="0" maxOccurs="unbounded"
                            type="Profile" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="modules" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The modules (sometimes called subprojects) to build as a part of this
                        project. Each module listed is a relative path to the directory
                        containing the module.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="module" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="repositories" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The lists of the remote repositories for discovering dependencies and
                        extensions.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="repository" minOccurs="0" maxOccurs="unbounded"
                            type="Repository" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="pluginRepositories" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The lists of the remote repositories for discovering plugins for
                        builds and reports.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="pluginRepository" minOccurs="0"
                            maxOccurs="unbounded" type="Repository" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="dependencies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        This element describes all of the dependencies associated with a
                        project. These dependencies are used to construct a classpath for
                        your project during the build process. They are automatically
                        downloaded from the repositories defined in this project. See
                        <a
                            href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the dependency mechanism</a>
                        for more information.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="dependency" minOccurs="0" maxOccurs="unbounded"
                            type="Dependency" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="reports" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        <b>Deprecated</b>
                        . Now ignored by Maven.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="reporting" minOccurs="0" type="Reporting">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        This element includes the specification of report plugins to use
                        to generate the reports on the Maven-generated site. These reports
                        will be run when a user executes
                        <code>mvn site</code>
                        . All of the reports will be included in the navigation bar for
                        browsing.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="dependencyManagement" minOccurs="0"
                type="DependencyManagement">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Default dependency information for projects that inherit from this one.
                        The dependencies in this section are not immediately resolved.
                        Instead, when a POM derived from this one declares a dependency
                        described by a matching groupId and artifactId, the version and
                        other values from this section are used for that dependency if
                        they were not already specified.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="distributionManagement" minOccurs="0"
                type="DistributionManagement">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Distribution information for a project that enables deployment of the site and
                        artifacts to remote web servers and repositories respectively.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="properties" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Properties that can be used throughout the POM as a substitution,
                        and are used as filters in resources if enabled. The format is
                        <code>&lt;name&gt;value&lt;/name&gt;</code>
                        .
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Contributor">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                Description of a person who has contributed to the project, but who does not
                have commit privileges. Usually, these contributions come in the
                form of patches submitted.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The full name of the
                        contributor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="email" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The email address of the
                        contributor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The URL for the homepage
                        of the contributor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="organization" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The organization to which
                        the contributor belongs.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="organizationUrl" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The URL of the
                        organization.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="roles" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The roles the contributor plays in the project. Each role is
                        described by a
                        <code>role</code>
                        element, the body of which is a role name. This can also be used
                        to describe the contribution.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="role" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="timezone" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The timezone the contributor is in. This is a number in the range -11
                        to 12.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="properties" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Properties about the contributor, such as an instant messenger handle.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Profile">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Modifications to the build process which is activated based on environmental
                parameters or command line arguments.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="id" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The identifier of this build profile. This used both for command line
                        activation, and identifies identical profiles to merge with during
                        inheritance.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="activation" minOccurs="0" type="Activation">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The conditional logic which will automatically trigger the inclusion
                        of this profile.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="build" minOccurs="0" type="BuildBase">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Information required to
                        build the project.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="modules" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The modules (sometimes called subprojects) to build as a part of this
                        project. Each module listed is a relative path to the directory
                        containing the module.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="module" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="repositories" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The lists of the remote repositories for discovering dependencies and
                        extensions.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="repository" minOccurs="0" maxOccurs="unbounded"
                            type="Repository" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="pluginRepositories" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The lists of the remote repositories for discovering plugins for
                        builds and reports.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="pluginRepository" minOccurs="0"
                            maxOccurs="unbounded" type="Repository" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="dependencies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        This element describes all of the dependencies associated with a
                        project. These dependencies are used to construct a classpath for
                        your project during the build process. They are automatically
                        downloaded from the repositories defined in this project. See
                        <a
                            href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the dependency mechanism</a>
                        for more information.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="dependency" minOccurs="0" maxOccurs="unbounded"
                            type="Dependency" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="reports" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        <b>Deprecated</b>
                        . Now ignored by Maven.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="reporting" minOccurs="0" type="Reporting">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        This element includes the specification of report plugins to use
                        to generate the reports on the Maven-generated site. These reports
                        will be run when a user executes
                        <code>mvn site</code>
                        . All of the reports will be included in the navigation bar for
                        browsing.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="dependencyManagement" minOccurs="0"
                type="DependencyManagement">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Default dependency information for projects that inherit from this one.
                        The dependencies in this section are not immediately resolved.
                        Instead, when a POM derived from this one declares a dependency
                        described by a matching groupId and artifactId, the version and
                        other values from this section are used for that dependency if
                        they were not already specified.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="distributionManagement" minOccurs="0"
                type="DistributionManagement">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Distribution information for a project that enables deployment of the site and
                        artifacts to remote web servers and repositories respectively.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="properties" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Properties that can be used throughout the POM as a substitution,
                        and are used as filters in resources if enabled. The format is
                        <code>&lt;name&gt;value&lt;/name&gt;</code>
                        .
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Activation">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                The conditions within the build runtime environment which will trigger
                the automatic inclusion of the build profile.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="activeByDefault" minOccurs="0" type="xs:boolean"
                default="false">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Flag specifying whether this profile is active by default.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="jdk" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Specifies that this profile will be activated when a matching JDK
                        is detected. For example,
                        <code>1.4</code>
                        only activates on JDKs versioned 1.4, while
                        <code>!1.4</code>
                        matches any JDK that is not version 1.4.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="os" minOccurs="0" type="ActivationOS">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Specifies that this profile will be activated when matching operating
                        system attributes are detected.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="property" minOccurs="0" type="ActivationProperty">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Specifies that this profile will be activated when this system property is
                        specified.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="file" minOccurs="0" type="ActivationFile">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Specifies that this profile will be activated based on existence of a file.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="ActivationFile">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                This is the file specification used to activate the profile. The missing
                value will be the location of a file that needs to exist, and if it
                doesn‘t the profile will be activated. On the other hand exists will
                test for the existence of the file and if it is there the profile
                will be activated.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="missing" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The name of the file that must be missing to activate the profile.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="exists" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The name of the file that must exist to activate the profile.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="ActivationProperty">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                This is the property specification used to activate a profile. If the
                value field is empty, then the existence of the named property will
                activate the profile, otherwise it does a case-sensitive match
                against the property value as well.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The name of the property to be used to activate a profile.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="value" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The value of the property required to activate a profile.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="ActivationOS">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                This is an activator which will detect an operating system‘s attributes
                in order to activate its profile.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The name of the operating system to be used to activate the
                        profile. This must be an exact match of the
                        <code>${os.name}</code>
                        Java property, such as
                        <code>Windows XP</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="family" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The general family of the OS to be used to activate the profile,
                        such as
                        <code>windows</code>
                        or
                        <code>unix</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="arch" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The architecture of the operating system to be used to activate the
                        profile.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The version of the operating system to be used to activate the
                        profile.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="DependencyManagement">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Section for management of default dependency information for use in a group
                of POMs.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="dependencies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The dependencies specified here are not used until they are
                        referenced in a POM within the group. This allows the
                        specification of a "standard" version for a particular dependency.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="dependency" minOccurs="0" maxOccurs="unbounded"
                            type="Dependency" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Dependency">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="groupId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The project group that produced the dependency, e.g.
                        <code>org.apache.maven</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The unique id for an artifact produced by the project group, e.g.
                        <code>maven-artifact</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The version of the dependency, e.g.
                        <code>3.2.1</code>
                        . In Maven 2, this can also be specified as a range of versions.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="type" minOccurs="0" type="xs:string"
                default="jar">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The type of dependency. This defaults to
                        <code>jar</code>
                        . While it usually represents the extension on the filename of the
                        dependency, that is not always the case. A type can be mapped to a
                        different extension and a classifier. The type often correspongs
                        to the packaging used, though this is also not always the case.
                        Some examples are
                        <code>jar</code>
                        ,
                        <code>war</code>
                        ,
                        <code>ejb-client</code>
                        and
                        <code>test-jar</code>
                        . New types can be defined by plugins that set
                        <code>extensions</code>
                        to
                        <code>true</code>
                        , so this is not a complete list.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="classifier" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The classifier of the dependency. This allows distinguishing two
                        artifacts that belong to the same POM but were built differently,
                        and is appended to the filename after the version. For example,
                        <code>jdk14</code>
                        and
                        <code>jdk15</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="scope" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The scope of the dependency -
                        <code>compile</code>
                        ,
                        <code>runtime</code>
                        ,
                        <code>test</code>
                        ,
                        <code>system</code>
                        , and
                        <code>provided</code>
                        . Used to calculate the various classpaths used for compilation,
                        testing, and so on. It also assists in determining which artifacts
                        to include in a distribution of this project. For more
                        information, see
                        <a
                            href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the dependency mechanism</a>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="systemPath" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        FOR SYSTEM SCOPE ONLY. Note that use of this property is
                        <b>discouraged</b>
                        and may be replaced in later versions. This specifies the path on
                        the filesystem for this dependency. Requires an absolute path for
                        the value, not relative. Use a property that gives the machine
                        specific absolute path, e.g.
                        <code>${java.home}</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="exclusions" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Lists a set of artifacts that should be excluded from this dependency‘s
                        artifact list when it comes to calculating transitive
                        dependencies.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="exclusion" minOccurs="0" maxOccurs="unbounded"
                            type="Exclusion" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="optional" minOccurs="0" type="xs:boolean"
                default="false">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Indicates the dependency is optional for use of this library. While the
                        version of the dependency will be taken into account for
                        dependency calculation if the library is used elsewhere, it will
                        not be passed on transitively.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Exclusion">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The artifact ID of the
                        project to exclude.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="groupId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The group ID of the
                        project to exclude.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Reporting">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Section for management of reports and their configuration.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="excludeDefaults" minOccurs="0" type="xs:boolean"
                default="false">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        If true, then the default reports are not included in the site
                        generation. This includes the reports in the "Project Info" menu.
                    </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">
                        Where to store all of the generated reports. The default is
                        <code>${project.build.directory}/site</code>
                        .
                    </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 reporting plugins to use and their configuration.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="plugin" minOccurs="0" maxOccurs="unbounded"
                            type="ReportPlugin" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="ReportPlugin">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="groupId" minOccurs="0" type="xs:string"
                default="org.apache.maven.plugins">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The group ID of the reporting plugin in the repository.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The artifact ID of the reporting plugin in the repository.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The version of the
                        reporting plugin to be used.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="inherited" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Whether the configuration in this plugin should be made available to
                        projects that inherit from this one.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="configuration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The configuration of the
                        reporting plugin.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="reportSets" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Multiple specifications of a set of reports, each having
                        (possibly) different configuration. This is the reporting parallel
                        to an
                        <code>execution</code>
                        in the build.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="reportSet" minOccurs="0" maxOccurs="unbounded"
                            type="ReportSet" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="ReportSet">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Represents a set of reports and configuration to be used to generate them.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="id" minOccurs="0" type="xs:string"
                default="default">
                <xs:annotation>
                    <xs:documentation source="version">0.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The unique id for this report set, to be used during POM inheritance.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="configuration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Configuration of the report to be used when generating this set.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="inherited" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Whether any configuration should be propagated to child POMs.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="reports" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The list of reports from this plugin which should be generated from
                        this set.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="report" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="BuildBase">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
        </xs:annotation>
        <xs:all>
            <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 classpath resources such as
                        properties files associated with a project. These resources are
                        often included in the final package.
                    </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 classpath resources such as
                        properties files associated with a project‘s unit tests.
                    </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 are 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 (excluding the extension, and with no path
                        information) that the produced artifact will be called. The
                        default value is
                        <code>${artifactId}-${version}</code>
                        .
                    </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
                        resolved 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 list of plugins to
                        use.</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>
    <xs:complexType name="Plugin">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="groupId" minOccurs="0" type="xs:string"
                default="org.apache.maven.plugins">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The group ID of the
                        plugin in the repository.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The artifact ID of the
                        plugin in the repository.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The version (or valid range of verisons) of the plugin to be used.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="extensions" minOccurs="0" type="xs:boolean"
                default="false">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Whether to load Maven extensions (such as packaging and type handlers)
                        from this plugin. For performance reasons, this should only be
                        enabled when necessary.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="executions" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Multiple specifications of a set of goals to execute during the build
                        lifecycle, each having (possibly) different configuration.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="execution" minOccurs="0" maxOccurs="unbounded"
                            type="PluginExecution" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="dependencies" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Additional dependencies that this project needs to introduce to the plugin‘s
                        classloader.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="dependency" minOccurs="0" maxOccurs="unbounded"
                            type="Dependency" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="goals" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        <b>Deprecated</b>
                        . Unused by Maven.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="inherited" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Whether any configuration should be propagated to child POMs.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="configuration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">0.0.0+</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="PluginExecution">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="id" minOccurs="0" type="xs:string"
                default="default">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The identifier of this execution for labelling the goals during the
                        build, and for matching exections to merge during inheritance.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="phase" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The build lifecycle phase to bind the goals in this execution to. If
                        omitted, the goals will be bound to the default specified in their
                        metadata.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="goals" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The goals to execute with
                        the given configuration.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="goal" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="inherited" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Whether any configuration should be propagated to child POMs.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="configuration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">0.0.0+</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="PluginManagement">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Section for management of default plugin information for use in a group of
                POMs.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="plugins" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The list of plugins to
                        use.</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>
    <xs:complexType name="Resource">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                This element describes all of the classpath resources associated with a
                project or unit tests.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="targetPath" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Describe the resource target path. For example, if you want that
                        resource to appear in a specific package (
                        <code>org.apache.maven.messages</code>
                        ), you must specify this element with this value:
                        <code>org/apache/maven/messages</code>
                        . This is not required if you simply put the resources in that
                        directory structure at the source, however.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="filtering" minOccurs="0" type="xs:boolean"
                default="false">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Whether resources are filtered to replace tokens with
                        parameterised values or not. The values are taken from the
                        <code>properties</code>
                        element and from the properties in the files listed in the
                        <code>filters</code>
                        element.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="directory" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Describe the directory where the resources are stored. The path is
                        relative to the POM.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="includes" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        A list of patterns to include, e.g.
                        <code>**&#47;*.xml</code>
                        .
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="include" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="excludes" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        A list of patterns to exclude, e.g.
                        <code>**&#47;*.xml</code>
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="exclude" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="DistributionManagement">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                This elements describes all that pertains to distribution for a project.
                It is primarily used for deployment of artifacts and the site
                produced by the build.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="repository" minOccurs="0"
                type="DeploymentRepository">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Information needed to deploy the artifacts generated by the project to a
                        remote repository.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="snapshotRepository" minOccurs="0"
                type="DeploymentRepository">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Where to deploy snapshots of artifacts to. If not given, it
                        defaults to the
                        <code>repository</code>
                        element.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="site" minOccurs="0" type="Site">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Information needed for deploying the web site of the project.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="downloadUrl" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The URL of the project‘s download page. If not given users will be
                        referred to the homepage given by
                        <code>url</code>
                        . This is given to assist in locating artifacts that are not in
                        the repository due to licensing restrictions.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="relocation" minOccurs="0" type="Relocation">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Relocation information of the artifact if it has been moved to a new group
                        ID and/or artifact ID.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="status" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Gives the status of this artifact in the remote repository. This
                        must not be set in your local project, as it is updated by tools
                        placing it in the reposiory. Valid values are:
                        <code>none</code>
                        (default),
                        <code>converted</code>
                        (repository manager converted this from an Maven 1 POM),
                        <code>partner</code>
                        (directly synced from a partner Maven 2 repository),
                        <code>deployed</code>
                        (was deployed from a Maven 2 instance),
                        <code>verified</code>
                        (has been hand verified as correct and final).
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Site">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Contains the information needed for deploying websites.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="id" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        A unique identifier for a deployment locataion. This is used to
                        match the site to configuration in the
                        <code>settings.xml</code>
                        file, for example.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Human readable name of
                        the deployment location.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The url of the location where website is deployed, in the form
                        <code>protocol://hostname/path</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Relocation">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Describes where an artifact has moved to. If any of the values are omitted,
                it is assumed to be the same as it was before.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="groupId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The group ID the artifact
                        has moved to.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The new artifact ID of
                        the artifact.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The new version of the
                        artifact.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="message" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        An additional message to show the user about the move, such as the
                        reason.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="DeploymentRepository">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Repository contains the information needed for deploying to the remote
                repoistory.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="uniqueVersion" minOccurs="0" type="xs:boolean"
                default="true">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Whether to assign snapshots a unique version comprised of the timestamp
                        and build number, or to use the same version each time
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="id" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        A unique identifier for a repository. This is used to match the
                        repository to configuration in the
                        <code>settings.xml</code>
                        file, for example.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Human readable name of
                        the repository.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The url of the repository, in the form
                        <code>protocol://hostname/path</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="layout" minOccurs="0" type="xs:string"
                default="default">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The type of layout this repository uses for locating and storing
                        artifacts - can be
                        <code>legacy</code>
                        or
                        <code>default</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Repository">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                A repository contains the information needed for establishing
                connections with remote repoistory.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="releases" minOccurs="0" type="RepositoryPolicy">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        How to handle downloading of releases from this repository.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="snapshots" minOccurs="0" type="RepositoryPolicy">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        How to handle downloading of snapshots from this repository.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="id" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        A unique identifier for a repository. This is used to match the
                        repository to configuration in the
                        <code>settings.xml</code>
                        file, for example.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Human readable name of
                        the repository.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The url of the repository, in the form
                        <code>protocol://hostname/path</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="layout" minOccurs="0" type="xs:string"
                default="default">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The type of layout this repository uses for locating and storing
                        artifacts - can be
                        <code>legacy</code>
                        or
                        <code>default</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="RepositoryPolicy">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">Download policy</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="enabled" minOccurs="0" type="xs:boolean"
                default="true">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Whether to use this repository for downloading this type of artifact.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="updatePolicy" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The frequency for downloading updates - can be
                        <code>always,</code>
                        <code>daily</code>
                        (default),
                        <code>interval:XXX</code>
                        (in minutes) or
                        <code>never</code>
                        (only if it doesn‘t exist locally).
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="checksumPolicy" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        What to do when verification of an artifact checksum fails. Valid
                        values are
                        <code>ignore</code>
                        ,
                        <code>fail</code>
                        or
                        <code>warn</code>
                        (the default).
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="MailingList">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                This element describes all of the mailing lists associated with a
                project. The auto-generated site references this information.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The name of the mailing
                        list.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="subscribe" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The email address or link that can be used to subscribe to the
                        mailing list. If this is an email address, a
                        <code>mailto:</code>
                        link will automatically be created when the documentation is
                        created.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="unsubscribe" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The email address or link that can be used to unsubscribe to the
                        mailing list. If this is an email address, a
                        <code>mailto:</code>
                        link will automatically be created when the documentation is
                        created.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="post" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The email address or link that can be used to post to the mailing
                        list. If this is an email address, a
                        <code>mailto:</code>
                        link will automatically be created when the documentation is
                        created.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="archive" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The link to a URL where you can browse the mailing list archive.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="otherArchives" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The link to alternate URLs where you can browse the list archive.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="otherArchive" minOccurs="0"
                            maxOccurs="unbounded" type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <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 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 classpath resources such as
                        properties files associated with a project. These resources are
                        often included in the final package.
                    </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 classpath resources such as
                        properties files associated with a project‘s unit tests.
                    </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 are 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 (excluding the extension, and with no path
                        information) that the produced artifact will be called. The
                        default value is
                        <code>${artifactId}-${version}</code>
                        .
                    </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
                        resolved 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 list of plugins to
                        use.</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>
    <xs:complexType name="Extension">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">Describes a build extension
                to utilise.</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="groupId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The group ID of the
                        extension‘s artifact.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The artifact ID of the
                        extension.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The version of the
                        extension.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="IssueManagement">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Information about the issue tracking (or bug tracking) system used to manage
                this project.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="system" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The name of the issue management system, e.g. Bugzilla
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        URL for the issue management system used by the project.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Parent">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="artifactId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The artifact id of the parent project to inherit from.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="groupId" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The group id of the parent project to inherit from.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="version" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The version of the parent
                        project to inherit.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="relativePath" minOccurs="0" type="xs:string"
                default="../pom.xml">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The relative path of the parent
                        <code>pom.xml</code>
                        file within the check out. The default value is
                        <code>../pom.xml</code>
                        . Maven looks for the parent pom first in the reactor of currently
                        building projects, then in this location on the filesystem, then
                        the local repository, and lastly in the remote repo.
                        <code>relativePath</code>
                        allows you to select a different location, for example when your
                        structure is flat, or deeper without an intermediate parent pom.
                        However, the group ID, artifact ID and version are still required,
                        and must match the file in the location given or it will revert to
                        the repository for the POM. This feature is only for enhancing the
                        development in a local checkout of that project.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Prerequisites">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">Describes the prerequisites
                a project can have.</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="maven" minOccurs="0" type="xs:string"
                default="2.0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The minimum version of Maven required to build the project, or to use
                        this plugin.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="CiManagement">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="system" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The name of the continuous integration system, e.g.
                        <code>continuum</code>
                        .
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        URL for the continuous integration system used by the project if it
                        has a web interface.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="notifiers" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Configuration for notifying developers/users when a build is unsuccessful,
                        including user information and notification mode.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="notifier" minOccurs="0" maxOccurs="unbounded"
                            type="Notifier" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Notifier">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
            <xs:documentation source="description">
                Configures one method for notifying users/developers when a build breaks.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="type" minOccurs="0" type="xs:string"
                default="mail">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">The mechanism used to
                        deliver notifications.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="sendOnError" minOccurs="0" type="xs:boolean"
                default="true">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Whether to send
                        notifications on error.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="sendOnFailure" minOccurs="0" type="xs:boolean"
                default="true">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Whether to send
                        notifications on failure.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="sendOnSuccess" minOccurs="0" type="xs:boolean"
                default="true">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Whether to send
                        notifications on success.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="sendOnWarning" minOccurs="0" type="xs:boolean"
                default="true">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">Whether to send
                        notifications on warning.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="address" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        <b>Deprecated</b>
                        . Where to send the notification to - eg email address.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="configuration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">0.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Extended configuration specific to this notifier goes here.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="License">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                Describes the licenses for this project. This is used to generate the license
                page of the project‘s web site, as well as being taken into
                consideration in other reporting and validation. The licenses listed
                for the project are that of the project itself, and not of
                dependencies.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The full legal name of
                        the license.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The official url for the
                        license text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="distribution" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The primary method by which this project may be distributed.
                        <dl>
                            <dt>repo</dt>
                            <dd>may be downloaded from the Maven repository</dd>
                            <dt>manual</dt>
                            <dd>user must manually download and install the dependency.</dd>
                        </dl>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="comments" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">Addendum information
                        pertaining to this license.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Developer">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                Information about one of the committers on this project.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="id" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The unique ID of the
                        developer in the SCM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The full name of the
                        contributor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="email" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The email address of the
                        contributor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The URL for the homepage
                        of the contributor.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="organization" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The organization to which
                        the contributor belongs.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="organizationUrl" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The URL of the
                        organization.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="roles" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The roles the contributor plays in the project. Each role is
                        described by a
                        <code>role</code>
                        element, the body of which is a role name. This can also be used
                        to describe the contribution.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="role" minOccurs="0" maxOccurs="unbounded"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="timezone" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        The timezone the contributor is in. This is a number in the range -11
                        to 12.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="properties" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">
                        Properties about the contributor, such as an instant messenger handle.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any minOccurs="0" maxOccurs="unbounded"
                            processContents="skip" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Scm">
        <xs:annotation>
            <xs:documentation source="version">4.0.0</xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="connection" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The source control management system URL that describes the
                        repository and how to connect to the repository. For more
                        information, see the
                        <a href="http://maven.apache.org/scm/scm-url-format.html">URL format</a>
                        and
                        <a href="http://maven.apache.org/scm/scms-overview.html">list of supported SCMs</a>
                        . This connection is read-only.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="developerConnection" minOccurs="0"
                type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        Just like
                        <code>connection</code>
                        , but for developers, i.e. this scm connection will not be read
                        only.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="tag" minOccurs="0" type="xs:string"
                default="HEAD">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The tag of current code. By default, it‘s set to HEAD during
                        development.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">4.0.0</xs:documentation>
                    <xs:documentation source="description">
                        The URL to the project‘s browsable SCM repository, such as ViewVC or
                        Fisheye.
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
    <xs:complexType name="Organization">
        <xs:annotation>
            <xs:documentation source="version">3.0.0+</xs:documentation>
            <xs:documentation source="description">
                Specifies the organization that produces this project.
            </xs:documentation>
        </xs:annotation>
        <xs:all>
            <xs:element name="name" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The full name of the
                        organization.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="url" minOccurs="0" type="xs:string">
                <xs:annotation>
                    <xs:documentation source="version">3.0.0+</xs:documentation>
                    <xs:documentation source="description">The URL to the
                        organization‘s home page.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:all>
    </xs:complexType>
</xs:schema>
pom.xml 语法

 

技术分享
<!-- The <code>&lt;project&gt;</code> element is the root of the descriptor. 
    The following table lists all of the possible child elements. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <!-- The location of the parent project, if one exists. Values from the 
        parent project will be the default for this project if they are left unspecified. 
        The location is given as a group ID, artifact ID and version. -->
    <parent>
        <!-- The artifact id of the parent project to inherit from. -->
        <artifactId></artifactId>
        <!-- The group id of the parent project to inherit from. -->
        <groupId></groupId>
        <!-- The version of the parent project to inherit. -->
        <version></version>
        <!-- The relative path of the parent <code>pom.xml</code> file within the 
            check out. The default value is <code>../pom.xml</code>. Maven looks for 
            the parent pom first in the reactor of currently building projects, then 
            in this location on the filesystem, then the local repository, and lastly 
            in the remote repo. <code>relativePath</code> allows you to select a different 
            location, for example when your structure is flat, or deeper without an intermediate 
            parent pom. However, the group ID, artifact ID and version are still required, 
            and must match the file in the location given or it will revert to the repository 
            for the POM. This feature is only for enhancing the development in a local 
            checkout of that project. -->
        <relativePath></relativePath>
    </parent>
    <!-- Declares to which version of project descriptor this POM conforms. -->
    <modelVersion></modelVersion>
    <!-- A universally unique identifier for a project. It is normal to use 
        a fully-qualified package name to distinguish it from other projects with 
        a similar name (eg. <code>org.apache.maven</code>). -->
    <groupId></groupId>
    <!-- The identifier for this artifact that is unique within the group given 
        by the group ID. An artifact is something that is either produced or used 
        by a project. Examples of artifacts produced by Maven for a project include: 
        JARs, source and binary distributions, and WARs. -->
    <artifactId></artifactId>
    <!-- The type of artifact this project produces, for example <code>jar</code> 
        <code>war</code> <code>ear</code> <code>pom</code>. Plugins can create their 
        own packaging, and therefore their own packaging types, so this list does 
        not contain all possible types. default="jar" . -->
    <packaging></packaging>
    <!-- The full name of the project. -->
    <name></name>
    <!-- The current version of the artifact produced by this project. -->
    <version></version>
    <!-- A detailed description of the project, used by Maven whenever it needs 
        to describe the project, such as on the web site. While this element can 
        be specified as CDATA to enable the use of HTML tags within the description, 
        it is discouraged to allow plain text representation. If you need to modify 
        the index page of the generated web site, you are able to specify your own 
        instead of adjusting this text. -->
    <description></description>
    <!-- The URL to the project‘s homepage. -->
    <url></url>
    <!-- Describes the prerequisites in the build environment for this project. -->
    <!-- Describes the prerequisites a project can have. -->
    <prerequisites>
        <!-- The minimum version of Maven required to build the project, or to 
            use this plugin. -->
        <maven></maven>
    </prerequisites>
    <!-- The project‘s issue management system information. -->
    <!-- Information about the issue tracking (or bug tracking) system used 
        to manage this project. -->
    <issueManagement>
        <!-- The name of the issue management system, e.g. Bugzilla -->
        <system></system>
        <!-- URL for the issue management system used by the project. -->
        <url></url>
    </issueManagement>
    <!-- The project‘s continuous integration information. -->
    <ciManagement>
        <!-- The name of the continuous integration system, e.g. <code>continuum</code>. -->
        <system></system>
        <!-- URL for the continuous integration system used by the project if it 
            has a web interface. -->
        <url></url>
        <!-- Configuration for notifying developers/users when a build is unsuccessful, 
            including user information and notification mode. -->
        <notifiers>
            <notifier>
                <!-- The mechanism used to deliver notifications. default="mail". -->
                <type></type>
                <!-- Whether to send notifications on error. default="true". -->
                <sendOnError></sendOnError>
                <!-- Whether to send notifications on failure. default="true". -->
                <sendOnFailure></sendOnFailure>
                <!-- Whether to send notifications on success. default="true". -->
                <sendOnSuccess></sendOnSuccess>
                <!-- Whether to send notifications on warning. default="true". -->
                <sendOnWarning></sendOnWarning>
                <!-- <b>Deprecated</b>. Where to send the notification to - eg email 
                    address. default="true". -->
                <address></address>
                <!-- Extended configuration specific to this notifier goes here. -->
                <configuration></configuration>
            </notifier>
        </notifiers>
    </ciManagement>
    <!-- The year of the project‘s inception, specified with 4 digits. This 
        value is used when generating copyright notices as well as being informational. -->
    <inceptionYear></inceptionYear>
    <!-- Contains information about a project‘s mailing lists. -->
    <mailingLists>
        <!-- This element describes all of the mailing lists associated with a 
            project. The auto-generated site references this information. -->
        <mailingList>
            <!-- The name of the mailing list. -->
            <name></name>
            <!-- The email address or link that can be used to subscribe to the mailing 
                list. If this is an email address, a <code>mailto:</code> link will automatically 
                be created when the documentation is created. -->
            <subscribe></subscribe>
            <!-- The email address or link that can be used to unsubscribe to the 
                mailing list. If this is an email address, a <code>mailto:</code> link will 
                automatically be created when the documentation is created. -->
            <unsubscribe></unsubscribe>
            <!-- The email address or link that can be used to post to the mailing 
                list. If this is an email address, a <code>mailto:</code> link will automatically 
                be created when the documentation is created. -->
            <post></post>
            <!-- The link to a URL where you can browse the mailing list archive. -->
            <archive></archive>
            <!-- The link to alternate URLs where you can browse the list archive. -->
            <otherArchives></otherArchives>
        </mailingList>
    </mailingLists>
    <!-- Describes the committers of a project. -->
    <developers>
        <!-- Information about one of the committers on this project. -->
        <developer>
            <!-- The unique ID of the developer in the SCM. -->
            <id></id>
            <!-- The full name of the contributor. -->
            <name></name>
            <!-- The email address of the contributor. -->
            <email></email>
            <!-- The URL for the homepage of the contributor. -->
            <url></url>
            <!-- The organization to which the contributor belongs. -->
            <organization></organization>
            <!-- The URL of the organization. -->
            <organizationUrl></organizationUrl>
            <!-- The roles the contributor plays in the project. Each role is described 
                by a <code>role</code> element, the body of which is a role name. This can 
                also be used to describe the contribution. -->
            <roles>
                <role>
                </role>
            </roles>
            <!-- The timezone the contributor is in. This is a number in the range 
                -11 to 12. -->
            <timezone></timezone>
            <!-- Properties about the contributor, such as an instant messenger handle. -->
            <properties></properties>
        </developer>
    </developers>
    <!-- Describes the contributors to a project that are not yet committers. -->
    <contributors>
        <contributor>
            <!-- The full name of the contributor. -->
            <name></name>
            <!-- The email address of the contributor. -->
            <email></email>
            <!-- The URL for the homepage of the contributor. -->
            <url></url>
            <!-- The organization to which the contributor belongs. -->
            <organization></organization>
            <!-- The URL of the organization. -->
            <organizationUrl></organizationUrl>
            <!-- The roles the contributor plays in the project. Each role is described 
                by a <code>role</code> element, the body of which is a role name. This can 
                also be used to describe the contribution. -->
            <roles>
                <role></role>
            </roles>
            <!-- The timezone the contributor is in. This is a number in the range 
                -11 to 12. -->
            <timezone></timezone>
            <!-- Properties about the contributor, such as an instant messenger handle. -->
            <properties></properties>
        </contributor>
    </contributors>
    <!-- This element describes all of the licenses for this project. Each license 
        is described by a <code>license</code> element, which is then described by 
        additional elements. Projects should only list the license(s) that applies 
        to the project and not the licenses that apply to dependencies. If multiple 
        licenses are listed, it is assumed that the user can select any of them, 
        not that they must accept all. -->
    <licenses>
        <!-- Describes the licenses for this project. This is used to generate 
            the license page of the project‘s web site, as well as being taken into consideration 
            in other reporting and validation. The licenses listed for the project are 
            that of the project itself, and not of dependencies. -->
        <license>
            <!-- The full legal name of the license. -->
            <name></name>
            <!-- The official url for the license text. -->
            <url></url>
            <!-- The primary method by which this project may be distributed. <dl> 
                <dt>repo</dt> <dd>may be downloaded from the Maven repository</dd> <dt>manual</dt> 
                <dd>user must manually download and install the dependency.</dd> </dl> -->
            <distribution></distribution>
            <!-- Addendum information pertaining to this license. -->
            <comments></comments>
        </license>
    </licenses>
    <!-- Specification for the SCM used by the project, such as CVS, Subversion, 
        etc. -->
    <!-- Source Control Management -->
    <scm>
        <!-- The source control management system URL that describes the repository 
            and how to connect to the repository. For more information, see the 
            <a href="http://maven.apache.org/scm/scm-url-format.html">
            URL format</a> and <a href="http://maven.apache.org/scm/scms-overview.html">list 
            of supported SCMs</a>. This connection is read-only. -->
        <connection></connection>
        <!-- Just like <code>connection</code>, but for developers, i.e. this scm 
            connection will not be read only. -->
        <developerConnection></developerConnection>
        <!-- The tag of current code. By default, it‘s set to HEAD during development. -->
        <tag></tag>
        <!-- The URL to the project‘s browsable SCM repository, such as ViewVC 
            or Fisheye. -->
        <url></url>
    </scm>
    <!-- This element describes various attributes of the organization to which 
        the project belongs. These attributes are utilized when documentation is 
        created (for copyright notices and links). -->
    <organization>
        <!-- The full name of the organization. -->
        <name></name>
        <!-- The URL to the organization‘s home page. -->
        <url></url>
    </organization>
    <!-- Information required to build the project. -->
    <build>
        <!-- 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. -->
        <sourceDirectory></sourceDirectory>
        <!-- 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). -->
        <scriptSourceDirectory></scriptSourceDirectory>
        <!-- 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. -->
        <testSourceDirectory></testSourceDirectory>
        <!-- The directory where compiled application classes are placed. -->
        <outputDirectory></outputDirectory>
        <!-- The directory where compiled test classes are placed. -->
        <testOutputDirectory></testOutputDirectory>
        <!-- A set of build extensions to use from this project. -->
        <extensions>
            <extension>
                <!-- The group ID of the extension‘s artifact. -->
                <groupId></groupId>
                <!-- The artifact ID of the extension. -->
                <artifactId></artifactId>
                <!-- The version of the extension. -->
                <version></version>
            </extension>
        </extensions>
        <!-- The default goal (or phase in Maven 2) to execute when none is specified 
            for the project. -->
        <defaultGoal></defaultGoal>
        <!-- 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. -->
        <resources>
            <!-- This element describes all of the classpath resources associated 
                with a project or unit tests. -->
            <resource>
                <!-- Describe the resource target path. For example, if you want that 
                    resource to appear in a specific package (<code>org.apache.maven.messages</code>), 
                    you must specify this element with this value: <code>org/apache/maven/messages</code>. 
                    This is not required if you simply put the resources in that directory structure 
                    at the source, however. -->
                <targetPath></targetPath>
                <!-- Whether resources are filtered to replace tokens with parameterised 
                    values or not. The values are taken from the <code>properties</code> element 
                    and from the properties in the files listed in the <code>filters</code> element. -->
                <filtering></filtering>
                <!-- Describe the directory where the resources are stored. The path 
                    is relative to the POM. -->
                <directory></directory>
                <!-- A list of patterns to include, e.g. <code>**&#47;*.xml</code>. -->
                <includes>
                    <include></include>
                </includes>
                <!-- A list of patterns to exclude, e.g. <code>**&#47;*.xml</code> -->
                <excludes>
                    <exclude></exclude>
                </excludes>
            </resource>
        </resources>
        <!-- This element describes all of the classpath resources such as properties 
            files associated with a project‘s unit tests. -->
        <testResources>
            <testResource>

            </testResource>
        </testResources>
        <!-- The directory where all files generated by the build are placed. -->
        <directory></directory>
        <!-- The filename (excluding the extension, and with no path information) 
            that the produced artifact will be called. The default value is <code>${artifactId}-${version}</code>. -->
        <finalName></finalName>
        <!-- The list of filter properties files that are used when filtering is 
            enabled. -->
        <filters>
            <filter></filter>
        </filters>
        <!-- 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. -->
        <pluginManagement>
            <!-- The list of plugins to use. -->
            <plugins>
                <plugin>
                </plugin>
            </plugins>
        </pluginManagement>
        <!-- The list of plugins to use. -->
        <plugins>
            <plugin>
                <!-- default="org.apache.maven.plugins" -->
                <!-- The group ID of the plugin in the repository. -->
                <groupId></groupId>
                <!-- The artifact ID of the plugin in the repository. -->
                <artifactId></artifactId>
                <!-- The version (or valid range of verisons) of the plugin to be used. -->
                <version></version>
                <!-- default="false" -->
                <!-- Whether to load Maven extensions (such as packaging and type handlers) 
                    from this plugin. For performance reasons, this should only be enabled when 
                    necessary. -->
                <extensions></extensions>
                <!-- Multiple specifications of a set of goals to execute during the 
                    build lifecycle, each having (possibly) different configuration. -->
                <executions>
                    <execution>
                        <!-- default="default" -->
                        <!-- The identifier of this execution for labelling the goals during 
                            the build, and for matching exections to merge during inheritance. -->
                        <id></id>
                        <!-- The build lifecycle phase to bind the goals in this execution 
                            to. If omitted, the goals will be bound to the default specified in their 
                            metadata. -->
                        <phase></phase>
                        <!-- The goals to execute with the given configuration. -->
                        <goals>
                            <goal></goal>
                        </goals>
                        <!-- Whether any configuration should be propagated to child POMs. -->
                        <inherited></inherited>
                        <configuration></configuration>
                    </execution>
                </executions>
                <dependencies></dependencies>
                <goals></goals>
                <inherited></inherited>
                <configuration></configuration>
            </plugin>
        </plugins>
    </build>
    <!-- A listing of project-local build profiles which will modify the build 
        process when activated. -->
    <profiles>
        <profile></profile>
    </profiles>
    <!-- The modules (sometimes called subprojects) to build as a part of this 
        project. Each module listed is a relative path to the directory containing 
        the module. -->
    <modules>
        <module></module>
    </modules>
    <!-- The lists of the remote repositories for discovering dependencies and 
        extensions. -->
    <repositories>
        <!-- A repository contains the information needed for establishing connections 
            with remote repoistory. -->
        <repository>
            <releases>
                <!-- Whether to use this repository for downloading this type of artifact. -->
                <enabled></enabled>
                <!-- The frequency for downloading updates - can be <code>always,</code> 
                    <code>daily</code> (default), <code>interval:XXX</code> (in minutes) or <code>never</code> 
                    (only if it doesn‘t exist locally). -->
                <updatePolicy></updatePolicy>
                <!-- What to do when verification of an artifact checksum fails. Valid 
                    values are <code>ignore</code> , <code>fail</code> or <code>warn</code> (the 
                    default). -->
                <checksumPolicy></checksumPolicy>
            </releases>
            <!-- How to handle downloading of snapshots from this repository. -->
            <snapshots>
                <!-- Whether to use this repository for downloading this type of artifact. -->
                <enabled></enabled>
                <!-- The frequency for downloading updates - can be <code>always,</code> 
                    <code>daily</code> (default), <code>interval:XXX</code> (in minutes) or <code>never</code> 
                    (only if it doesn‘t exist locally). -->
                <updatePolicy></updatePolicy>
                <!-- What to do when verification of an artifact checksum fails. Valid 
                    values are <code>ignore</code> , <code>fail</code> or <code>warn</code> (the 
                    default). -->
                <checksumPolicy></checksumPolicy>
            </snapshots>
            <!-- A unique identifier for a repository. This is used to match the repository 
                to configuration in the <code>settings.xml</code> file, for example. -->
            <id></id>
            <!-- Human readable name of the repository. -->
            <name></name>
            <!-- The url of the repository, in the form <code>protocol://hostname/path</code>. -->
            <url></url>
            <!-- The type of layout this repository uses for locating and storing 
                artifacts - can be <code>legacy</code> or <code>default</code>. default="default". -->
            <layout></layout>
        </repository>
    </repositories>
    <!-- The lists of the remote repositories for discovering plugins for builds 
        and reports. -->
    <pluginRepositories>
        <pluginRepository>
            <releases>
                <!-- Whether to use this repository for downloading this type of artifact. -->
                <enabled></enabled>
                <!-- The frequency for downloading updates - can be <code>always,</code> 
                    <code>daily</code> (default), <code>interval:XXX</code> (in minutes) or <code>never</code> 
                    (only if it doesn‘t exist locally). -->
                <updatePolicy></updatePolicy>
                <!-- What to do when verification of an artifact checksum fails. Valid 
                    values are <code>ignore</code> , <code>fail</code> or <code>warn</code> (the 
                    default). -->
                <checksumPolicy></checksumPolicy>
            </releases>
            <!-- How to handle downloading of snapshots from this repository. -->
            <snapshots>
                <!-- Whether to use this repository for downloading this type of artifact. -->
                <enabled></enabled>
                <!-- The frequency for downloading updates - can be <code>always,</code> 
                    <code>daily</code> (default), <code>interval:XXX</code> (in minutes) or <code>never</code> 
                    (only if it doesn‘t exist locally). -->
                <updatePolicy></updatePolicy>
                <!-- What to do when verification of an artifact checksum fails. Valid 
                    values are <code>ignore</code> , <code>fail</code> or <code>warn</code> (the 
                    default). -->
                <checksumPolicy></checksumPolicy>
            </snapshots>
            <!-- A unique identifier for a repository. This is used to match the repository 
                to configuration in the <code>settings.xml</code> file, for example. -->
            <id></id>
            <!-- Human readable name of the repository. -->
            <name></name>
            <!-- The url of the repository, in the form <code>protocol://hostname/path</code>. -->
            <url></url>
            <!-- The type of layout this repository uses for locating and storing 
                artifacts - can be <code>legacy</code> or <code>default</code>. default="default". -->
            <layout></layout>
        </pluginRepository>
    </pluginRepositories>
    <!-- This element describes all of the dependencies associated with a project. 
        These dependencies are used to construct a classpath for your project during 
        the build process. They are automatically downloaded from the repositories 
        defined in this project. See 
        <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html"> 
        the dependency mechanism</a> for more information. -->
    <dependencies>
        <dependency>
            <!-- The project group that produced the dependency, e.g. <code>org.apache.maven</code>. -->
            <groupId></groupId>
            <!-- The unique id for an artifact produced by the project group, e.g. 
                <code>maven-artifact</code>. -->
            <artifactId></artifactId>
            <!-- The version of the dependency, e.g. <code>3.2.1</code>. In Maven 
                2, this can also be specified as a range of versions. -->
            <version></version>
            <!-- The type of dependency. This defaults to <code>jar</code>. While 
                it usually represents the extension on the filename of the dependency, that 
                is not always the case. A type can be mapped to a different extension and 
                a classifier. The type often correspongs to the packaging used, though this 
                is also not always the case. Some examples are <code>jar</code>, <code>war</code>, 
                <code>ejb-client</code> and <code>test-jar</code>. New types can be defined 
                by plugins that set <code>extensions</code> to <code>true</code>, so this 
                is not a complete list. -->
            <type></type>
            <!-- The classifier of the dependency. This allows distinguishing two 
                artifacts that belong to the same POM but were built differently, and is 
                appended to the filename after the version. For example, <code>jdk14</code> 
                and <code>jdk15</code>. -->
            <classifier></classifier>
            <!-- The scope of the dependency - <code>compile</code>, <code>runtime</code>, 
                <code>test</code>, <code>system</code>, and <code>provided</code>. Used to 
                calculate the various classpaths used for compilation, testing, and so on. 
                It also assists in determining which artifacts to include in a distribution 
                of this project. For more information, see 
                <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html"> 
                the dependency mechanism</a>. -->
            <scope></scope>
            <!-- FOR SYSTEM SCOPE ONLY. Note that use of this property is <b>discouraged</b> 
                and may be replaced in later versions. This specifies the path on the filesystem 
                for this dependency. Requires an absolute path for the value, not relative. 
                Use a property that gives the machine specific absolute path, e.g. -->
            <systemPath></systemPath>
            <!-- Lists a set of artifacts that should be excluded from this dependency‘s 
                artifact list when it comes to calculating transitive dependencies. -->
            <exclusions>
                <exclusion>
                    <!-- The artifact ID of the project to exclude. -->
                    <artifactId></artifactId>
                    <!-- The group ID of the project to exclude. -->
                    <groupId></groupId>
                </exclusion>
            </exclusions>
            <!-- Indicates the dependency is optional for use of this library. While 
                the version of the dependency will be taken into account for dependency calculation 
                if the library is used elsewhere, it will not be passed on transitively. -->
            <optional></optional>
        </dependency>
    </dependencies>
    <!-- <b>Deprecated</b>. Now ignored by Maven. -->
    <reports></reports>
    <!-- This element includes the specification of report plugins to use to 
        generate the reports on the Maven-generated site. These reports will be run 
        when a user executes <code>mvn site</code>. All of the reports will be included 
        in the navigation bar for browsing. -->
    <!-- Section for management of reports and their configuration. -->
    <reporting>
        <!-- If true, then the default reports are not included in the site generation. 
            This includes the reports in the "Project Info" menu. default="false". -->
        <excludeDefaults></excludeDefaults>
        <!-- Where to store all of the generated reports. The default is <code>${project.build.directory}/site</code> 
            . -->
        <outputDirectory></outputDirectory>
        <!-- The reporting plugins to use and their configuration. -->
        <plugins>
            <plugin>
                <!-- The group ID of the reporting plugin in the repository. -->
                <groupId></groupId>
                <!-- The artifact ID of the reporting plugin in the repository. -->
                <artifactId></artifactId>
                <!-- The version of the reporting plugin to be used. -->
                <version></version>
                <!-- Whether the configuration in this plugin should be made available 
                    to projects that inherit from this one. -->
                <inherited></inherited>
                <!-- The configuration of the reporting plugin. -->
                <configuration></configuration>
                <!-- Multiple specifications of a set of reports, each having (possibly) 
                    different configuration. This is the reporting parallel to an <code>execution</code> 
                    in the build. -->
                <reportSets>
                    <reportSet>
                        <!-- The unique id for this report set, to be used during POM inheritance. -->
                        <id></id>
                        <!-- Configuration of the report to be used when generating this set. -->
                        <configuration></configuration>
                        <!-- Whether any configuration should be propagated to child POMs. -->
                        <inherited></inherited>
                        <!-- The list of reports from this plugin which should be generated 
                            from this set. -->
                        <reports>
                            <report></report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
        </plugins>
    </reporting>
    <!-- Default dependency information for projects that inherit from this 
        one. The dependencies in this section are not immediately resolved. Instead, 
        when a POM derived from this one declares a dependency described by a matching 
        groupId and artifactId, the version and other values from this section are 
        used for that dependency if they were not already specified. -->
    <dependencyManagement>
        <dependencies>
            <dependency>
                <!-- The project group that produced the dependency, e.g. <code>org.apache.maven</code>. -->
                <groupId></groupId>
                <!-- The unique id for an artifact produced by the project group, e.g. 
                    <code>maven-artifact</code>. -->
                <artifactId></artifactId>
                <!-- The version of the dependency, e.g. <code>3.2.1</code>. In Maven 
                    2, this can also be specified as a range of versions. -->
                <version></version>
                <!-- The type of dependency. This defaults to <code>jar</code>. While 
                    it usually represents the extension on the filename of the dependency, that 
                    is not always the case. A type can be mapped to a different extension and 
                    a classifier. The type often correspongs to the packaging used, though this 
                    is also not always the case. Some examples are <code>jar</code>, <code>war</code>, 
                    <code>ejb-client</code> and <code>test-jar</code>. New types can be defined 
                    by plugins that set <code>extensions</code> to <code>true</code>, so this 
                    is not a complete list. -->
                <type></type>
                <!-- The classifier of the dependency. This allows distinguishing two 
                    artifacts that belong to the same POM but were built differently, and is 
                    appended to the filename after the version. For example, <code>jdk14</code> 
                    and <code>jdk15</code>. -->
                <classifier></classifier>
                <!-- The scope of the dependency - <code>compile</code>, <code>runtime</code>, 
                    <code>test</code>, <code>system</code>, and <code>provided</code>. Used to 
                    calculate the various classpaths used for compilation, testing, and so on. 
                    It also assists in determining which artifacts to include in a distribution 
                    of this project. For more information, see 
                    <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html"> 
                    the dependency mechanism</a>. -->
                <scope></scope>
                <!-- FOR SYSTEM SCOPE ONLY. Note that use of this property is <b>discouraged</b> 
                    and may be replaced in later versions. This specifies the path on the filesystem 
                    for this dependency. Requires an absolute path for the value, not relative. 
                    Use a property that gives the machine specific absolute path, e.g. -->
                <systemPath></systemPath>
                <!-- Lists a set of artifacts that should be excluded from this dependency‘s 
                    artifact list when it comes to calculating transitive dependencies. -->
                <exclusions>
                    <exclusion>
                        <!-- The artifact ID of the project to exclude. -->
                        <artifactId></artifactId>
                        <!-- The group ID of the project to exclude. -->
                        <groupId></groupId>
                    </exclusion>
                </exclusions>
                <!-- Indicates the dependency is optional for use of this library. While 
                    the version of the dependency will be taken into account for dependency calculation 
                    if the library is used elsewhere, it will not be passed on transitively. -->
                <optional></optional>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <!-- Distribution information for a project that enables deployment of the 
        site and artifacts to remote web servers and repositories respectively. -->
    <!-- This elements describes all that pertains to distribution for a project. 
        It is primarily used for deployment of artifacts and the site produced by 
        the build. -->
    <distributionManagement>
        <!-- Information needed to deploy the artifacts generated by the project 
            to a remote repository. -->
        <repository>
            <!-- Whether to assign snapshots a unique version comprised of the timestamp 
                and build number, or to use the same version each time. default="true". -->
            <uniqueVersion></uniqueVersion>
            <!-- A unique identifier for a repository. This is used to match the repository 
                to configuration in the <code>settings.xml</code> file, for example. -->
            <id></id>
            <!-- Human readable name of the repository. -->
            <name></name>
            <!-- The url of the repository, in the form <code>protocol://hostname/path</code>. -->
            <url></url>
        </repository>
        <!-- Where to deploy snapshots of artifacts to. If not given, it defaults 
            to the <code>repository</code> element. -->
        <!-- Repository contains the information needed for deploying to the remote 
            repoistory. -->
        <snapshotRepository>
            <!-- Whether to assign snapshots a unique version comprised of the timestamp 
                and build number, or to use the same version each time. default="true". -->
            <uniqueVersion></uniqueVersion>
            <!-- A unique identifier for a repository. This is used to match the repository 
                to configuration in the <code>settings.xml</code> file, for example. -->
            <id></id>
            <!-- Human readable name of the repository. -->
            <name></name>
            <!-- The url of the repository, in the form <code>protocol://hostname/path</code>. -->
            <url></url>
        </snapshotRepository>
        <!-- Information needed for deploying the web site of the project. -->
        <!-- Contains the information needed for deploying websites. -->
        <site>
            <!-- A unique identifier for a deployment locataion. This is used to match 
                the site to configuration in the <code>settings.xml</code> file, for example. -->
            <id></id>
            <!-- Human readable name of the deployment location. -->
            <name></name>
            <!-- The url of the location where website is 
                deployed, in the form <code>protocol://hostname/path</code>. -->
            <url></url>
        </site>
        <!-- The URL of the project‘s download page. If not given users will be 
            referred to the homepage given by <code>url</code>. This is given to assist 
            in locating artifacts that are not in the repository due to licensing restrictions. -->
        <downloadUrl></downloadUrl>
        <!-- Relocation information of the artifact if it has been moved to a new 
            group ID and/or artifact ID. -->
        <!-- Describes where an artifact has moved to. If any of the values are 
            omitted, it is assumed to be the same as it was before. -->
        <relocation>
            <!-- The group ID the artifact has moved to. -->
            <groupId></groupId>
            <!-- The new artifact ID of the artifact. -->
            <artifactId></artifactId>
            <!-- The new version of the artifact. -->
            <version></version>
            <!-- An additional message to show the user about the move, such as the 
                reason. -->
            <message></message>
        </relocation>
        <!-- Gives the status of this artifact in the remote repository. This must 
            not be set in your local project, as it is updated by tools placing it in 
            the reposiory. Valid values are: <code>none</code> (default), <code>converted</code> 
            (repository manager converted this from an Maven 1 POM), <code>partner</code> 
            (directly synced from a partner Maven 2 repository), <code>deployed</code> 
            (was deployed from a Maven 2 instance), <code>verified</code> (has been hand 
            verified as correct and final). -->
        <status></status>
    </distributionManagement>
    <properties></properties>
</project>
pom.xml 英文版

 

技术分享
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">
    <!-- 父项目的坐标。如果项目中没有规定某个元素的值,那么父项目中的对应值即为项目的默认值。 坐标包括group ID,artifact ID和 
        version。 -->
    <parent>
        <!-- 被继承的父项目的构件标识符 -->
        <artifactId />
        <!-- 被继承的父项目的全球唯一标识符 -->
        <groupId />
        <!-- 被继承的父项目的版本 -->
        <version />
        <!-- 父项目的pom.xml文件的相对路径。相对路径允许你选择一个不同的路径。默认值是../pom.xml。Maven首先在构建当前项目的地方寻找父项目的pom,其次在文件系统的这个位置(relativePath位置),然后在本地仓库,最后在远程仓库寻找父项目的pom。 -->
        <relativePath />
    </parent>
    <!-- 声明项目描述符遵循哪一个POM模型版本。模型本身的版本很少改变,虽然如此,但它仍然是必不可少的,这是为了当Maven引入了新的特性或者其他模型变更的时候,确保稳定性。 -->
    <modelVersion> 4.0.0 </modelVersion>
    <!-- 项目的全球唯一标识符,通常使用全限定的包名区分该项目和其他项目。并且构建时生成的路径也是由此生成, 如com.mycompany.app生成的相对路径为:/com/mycompany/app -->
    <groupId></groupId>
    <!-- 构件的标识符,它和group ID一起唯一标识一个构件。换句话说,你不能有两个不同的项目拥有同样的artifact ID和groupID;在某个特定的group 
        ID下,artifact ID也必须是唯一的。构件是项目产生的或使用的一个东西,Maven为项目产生的构件包括:JARs,源码,二进制发布和WARs等。 -->
    <artifactId></artifactId>
    <!-- 项目产生的构件类型,例如jar、war、ear、pom。插件可以创建他们自己的构件类型,所以前面列的不是全部构件类型 -->
    <packaging> jar </packaging>
    <!-- 项目当前版本,格式为:主版本.次版本.增量版本-限定版本号 -->
    <version> 1.0-SNAPSHOT </version>
    <!-- 项目的名称, Maven产生的文档用 -->
    <name> banseon-maven </name>
    <!-- 项目主页的URL, Maven产生的文档用 -->
    <url> http://www.baidu.com/banseon </url>
    <!-- 项目的详细描述, Maven 产生的文档用。 当这个元素能够用HTML格式描述时(例如,CDATA中的文本会被解析器忽略,就可以包含HTML标签), 
        不鼓励使用纯文本描述。如果你需要修改产生的web站点的索引页面,你应该修改你自己的索引页文件,而不是调整这里的文档。 -->
    <description> A maven project to study maven. </description>
    <!-- 描述了这个项目构建环境中的前提条件。 -->
    <prerequisites>
        <!-- 构建该项目或使用该插件所需要的Maven的最低版本 -->
        <maven />
    </prerequisites>
    <!-- 项目的问题管理系统(Bugzilla, Jira, Scarab,或任何你喜欢的问题管理系统)的名称和URL,本例为 jira -->
    <issueManagement>
        <!-- 问题管理系统(例如jira)的名字, -->
        <system> jira </system>
        <!-- 该项目使用的问题管理系统的URL -->
        <url> http://jira.baidu.com/banseon </url>
    </issueManagement>
    <!-- 项目持续集成信息 -->
    <ciManagement>
        <!-- 持续集成系统的名字,例如continuum -->
        <system />
        <!-- 该项目使用的持续集成系统的URL(如果持续集成系统有web接口的话)。 -->
        <url />
        <!-- 构建完成时,需要通知的开发者/用户的配置项。包括被通知者信息和通知条件(错误,失败,成功,警告) -->
        <notifiers>
            <!-- 配置一种方式,当构建中断时,以该方式通知用户/开发者 -->
            <notifier>
                <!-- 传送通知的途径 -->
                <type />
                <!-- 发生错误时是否通知 -->
                <sendOnError />
                <!-- 构建失败时是否通知 -->
                <sendOnFailure />
                <!-- 构建成功时是否通知 -->
                <sendOnSuccess />
                <!-- 发生警告时是否通知 -->
                <sendOnWarning />
                <!-- 不赞成使用。通知发送到哪里 -->
                <address />
                <!-- 扩展配置项 -->
                <configuration />
            </notifier>
        </notifiers>
    </ciManagement>
    <!-- 项目创建年份,4位数字。当产生版权信息时需要使用这个值。 -->
    <inceptionYear />
    <!-- 项目相关邮件列表信息 -->
    <mailingLists>
        <!-- 该元素描述了项目相关的所有邮件列表。自动产生的网站引用这些信息。 -->
        <mailingList>
            <!-- 邮件的名称 -->
            <name> Demo </name>
            <!-- 发送邮件的地址或链接,如果是邮件地址,创建文档时,mailto: 链接会被自动创建 -->
            <post> banseon@126.com </post>
            <!-- 订阅邮件的地址或链接,如果是邮件地址,创建文档时,mailto: 链接会被自动创建 -->
            <subscribe> banseon@126.com </subscribe>
            <!-- 取消订阅邮件的地址或链接,如果是邮件地址,创建文档时,mailto: 链接会被自动创建 -->
            <unsubscribe> banseon@126.com </unsubscribe>
            <!-- 你可以浏览邮件信息的URL -->
            <archive> http:/hi.baidu.com/banseon/demo/dev/ </archive>
        </mailingList>
    </mailingLists>
    <!-- 项目开发者列表 -->
    <developers>
        <!-- 某个项目开发者的信息 -->
        <developer>
            <!-- SCM里项目开发者的唯一标识符 -->
            <id> HELLO WORLD </id>
            <!-- 项目开发者的全名 -->
            <name> banseon </name>
            <!-- 项目开发者的email -->
            <email> banseon@126.com </email>
            <!-- 项目开发者的主页的URL -->
            <url />
            <!-- 项目开发者在项目中扮演的角色,角色元素描述了各种角色 -->
            <roles>
                <role> Project Manager </role>
                <role> Architect </role>
            </roles>
            <!-- 项目开发者所属组织 -->
            <organization> demo </organization>
            <!-- 项目开发者所属组织的URL -->
            <organizationUrl> http://hi.baidu.com/banseon </organizationUrl>
            <!-- 项目开发者属性,如即时消息如何处理等 -->
            <properties>
                <dept> No </dept>
            </properties>
            <!-- 项目开发者所在时区, -11到12范围内的整数。 -->
            <timezone> -5 </timezone>
        </developer>
    </developers>
    <!-- 项目的其他贡献者列表 -->
    <contributors>
        <!-- 项目的其他贡献者。参见developers/developer元素 -->
        <contributor>
            <name />
            <email />
            <url />
            <organization />
            <organizationUrl />
            <roles />
            <timezone />
            <properties />
        </contributor>
    </contributors>
    <!-- 该元素描述了项目所有License列表。 应该只列出该项目的license列表,不要列出依赖项目的 license列表。如果列出多个license,用户可以选择它们中的一个而不是接受所有license。 -->
    <licenses>
        <!-- 描述了项目的license,用于生成项目的web站点的license页面,其他一些报表和validation也会用到该元素。 -->
        <license>
            <!-- license用于法律上的名称 -->
            <name> Apache 2 </name>
            <!-- 官方的license正文页面的URL -->
            <url> http://www.baidu.com/banseon/LICENSE-2.0.txt </url>
            <!-- 项目分发的主要方式: repo,可以从Maven库下载 manual, 用户必须手动下载和安装依赖 -->
            <distribution> repo </distribution>
            <!-- 关于license的补充信息 -->
            <comments> A business-friendly OSS license </comments>
        </license>
    </licenses>
    <!-- SCM(Source Control Management)标签允许你配置你的代码库,供Maven web站点和其它插件使用。 -->
    <scm>
        <!-- SCM的URL,该URL描述了版本库和如何连接到版本库。欲知详情,请看SCMs提供的URL格式和列表。该连接只读。 -->
        <connection>
            scm:svn:http://svn.baidu.com/banseon/maven/banseon/banseon-maven2-trunk(dao-trunk)
        </connection>
        <!-- 给开发者使用的,类似connection元素。即该连接不仅仅只读 -->
        <developerConnection>
            scm:svn:http://svn.baidu.com/banseon/maven/banseon/dao-trunk
        </developerConnection>
        <!-- 当前代码的标签,在开发阶段默认为HEAD -->
        <tag />
        <!-- 指向项目的可浏览SCM库(例如ViewVC或者Fisheye)的URL。 -->
        <url> http://svn.baidu.com/banseon </url>
    </scm>
    <!-- 描述项目所属组织的各种属性。Maven产生的文档用 -->
    <organization>
        <!-- 组织的全名 -->
        <name> demo </name>
        <!-- 组织主页的URL -->
        <url> http://www.baidu.com/banseon </url>
    </organization>
    <!-- 构建项目需要的信息 -->
    <build>
        <!-- 该元素设置了项目源码目录,当构建项目的时候,构建系统会编译目录里的源码。该路径是相对于pom.xml的相对路径。 -->
        <sourceDirectory />
        <!-- 该元素设置了项目脚本源码目录,该目录和源码目录不同:绝大多数情况下,该目录下的内容 会被拷贝到输出目录(因为脚本是被解释的,而不是被编译的)。 -->
        <scriptSourceDirectory />
        <!-- 该元素设置了项目单元测试使用的源码目录,当测试项目的时候,构建系统会编译目录里的源码。该路径是相对于pom.xml的相对路径。 -->
        <testSourceDirectory />
        <!-- 被编译过的应用程序class文件存放的目录。 -->
        <outputDirectory />
        <!-- 被编译过的测试class文件存放的目录。 -->
        <testOutputDirectory />
        <!-- 使用来自该项目的一系列构建扩展 -->
        <extensions>
            <!-- 描述使用到的构建扩展。 -->
            <extension>
                <!-- 构建扩展的groupId -->
                <groupId />
                <!-- 构建扩展的artifactId -->
                <artifactId />
                <!-- 构建扩展的版本 -->
                <version />
            </extension>
        </extensions>
        <!-- 当项目没有规定目标(Maven2 叫做阶段)时的默认值 -->
        <defaultGoal />
        <!-- 这个元素描述了项目相关的所有资源路径列表,例如和项目相关的属性文件,这些资源被包含在最终的打包文件里。 -->
        <resources>
            <!-- 这个元素描述了项目相关或测试相关的所有资源路径 -->
            <resource>
                <!-- 描述了资源的目标路径。该路径相对target/classes目录(例如${project.build.outputDirectory})。举个例子,如果你想资源在特定的包里(org.apache.maven.messages),你就必须该元素设置为org/apache/maven/messages。然而,如果你只是想把资源放到源码目录结构里,就不需要该配置。 -->
                <targetPath />
                <!-- 是否使用参数值代替参数名。参数值取自properties元素或者文件里配置的属性,文件在filters元素里列出。 -->
                <filtering />
                <!-- 描述存放资源的目录,该路径相对POM路径 -->
                <directory />
                <!-- 包含的模式列表,例如**/*.xml. -->
                <includes />
                <!-- 排除的模式列表,例如**/*.xml -->
                <excludes />
            </resource>
        </resources>
        <!-- 这个元素描述了单元测试相关的所有资源路径,例如和单元测试相关的属性文件。 -->
        <testResources>
            <!-- 这个元素描述了测试相关的所有资源路径,参见build/resources/resource元素的说明 -->
            <testResource>
                <targetPath />
                <filtering />
                <directory />
                <includes />
                <excludes />
            </testResource>
        </testResources>
        <!-- 构建产生的所有文件存放的目录 -->
        <directory />
        <!-- 产生的构件的文件名,默认值是${artifactId}-${version}。 -->
        <finalName />
        <!-- 当filtering开关打开时,使用到的过滤器属性文件列表 -->
        <filters />
        <!-- 子项目可以引用的默认插件信息。该插件配置项直到被引用时才会被解析或绑定到生命周期。给定插件的任何本地配置都会覆盖这里的配置 -->
        <pluginManagement>
            <!-- 使用的插件列表 。 -->
            <plugins>
                <!-- plugin元素包含描述插件所需要的信息。 -->
                <plugin>
                    <!-- 插件在仓库里的group ID -->
                    <groupId />
                    <!-- 插件在仓库里的artifact ID -->
                    <artifactId />
                    <!-- 被使用的插件的版本(或版本范围) -->
                    <version />
                    <!-- 是否从该插件下载Maven扩展(例如打包和类型处理器),由于性能原因,只有在真需要下载时,该元素才被设置成enabled。 -->
                    <extensions />
                    <!-- 在构建生命周期中执行一组目标的配置。每个目标可能有不同的配置。 -->
                    <executions>
                        <!-- execution元素包含了插件执行需要的信息 -->
                        <execution>
                            <!-- 执行目标的标识符,用于标识构建过程中的目标,或者匹配继承过程中需要合并的执行目标 -->
                            <id />
                            <!-- 绑定了目标的构建生命周期阶段,如果省略,目标会被绑定到源数据里配置的默认阶段 -->
                            <phase />
                            <!-- 配置的执行目标 -->
                            <goals />
                            <!-- 配置是否被传播到子POM -->
                            <inherited />
                            <!-- 作为DOM对象的配置 -->
                            <configuration />
                        </execution>
                    </executions>
                    <!-- 项目引入插件所需要的额外依赖 -->
                    <dependencies>
                        <!-- 参见dependencies/dependency元素 -->
                        <dependency>
                        </dependency>
                    </dependencies>
                    <!-- 任何配置是否被传播到子项目 -->
                    <inherited />
                    <!-- 作为DOM对象的配置 -->
                    <configuration />
                </plugin>
            </plugins>
        </pluginManagement>
        <!-- 使用的插件列表 -->
        <plugins>
            <!-- 参见build/pluginManagement/plugins/plugin元素 -->
            <plugin>
                <groupId />
                <artifactId />
                <version />
                <extensions />
                <executions>
                    <execution>
                        <id />
                        <phase />
                        <goals />
                        <inherited />
                        <configuration />
                    </execution>
                </executions>
                <dependencies>
                    <!-- 参见dependencies/dependency元素 -->
                    <dependency>
                    </dependency>
                </dependencies>
                <goals />
                <inherited />
                <configuration />
            </plugin>
        </plugins>
    </build>
    <!-- 在列的项目构建profile,如果被激活,会修改构建处理 -->
    <profiles>
        <!-- 根据环境参数或命令行参数激活某个构建处理 -->
        <profile>
            <!-- 构建配置的唯一标识符。即用于命令行激活,也用于在继承时合并具有相同标识符的profile。 -->
            <id />
            <!-- 自动触发profile的条件逻辑。Activation是profile的开启钥匙。profile的力量来自于它 能够在某些特定的环境中自动使用某些特定的值;这些环境通过activation元素指定。activation元素并不是激活profile的唯一方式。 -->
            <activation>
                <!-- profile默认是否激活的标志 -->
                <activeByDefault />
                <!-- 当匹配的jdk被检测到,profile被激活。例如,1.4激活JDK1.4,1.4.0_2,而!1.4激活所有版本不是以1.4开头的JDK。 -->
                <jdk />
                <!-- 当匹配的操作系统属性被检测到,profile被激活。os元素可以定义一些操作系统相关的属性。 -->
                <os>
                    <!-- 激活profile的操作系统的名字 -->
                    <name> Windows XP </name>
                    <!-- 激活profile的操作系统所属家族(如 ‘windows‘) -->
                    <family> Windows </family>
                    <!-- 激活profile的操作系统体系结构 -->
                    <arch> x86 </arch>
                    <!-- 激活profile的操作系统版本 -->
                    <version> 5.1.2600 </version>
                </os>
                <!-- 如果Maven检测到某一个属性(其值可以在POM中通过${名称}引用),其拥有对应的名称和值,Profile就会被激活。如果值 
                    字段是空的,那么存在属性名称字段就会激活profile,否则按区分大小写方式匹配属性值字段 -->
                <property>
                    <!-- 激活profile的属性的名称 -->
                    <name> mavenVersion </name>
                    <!-- 激活profile的属性的值 -->
                    <value> 2.0.3 </value>
                </property>
                <!-- 提供一个文件名,通过检测该文件的存在或不存在来激活profile。missing检查文件是否存在,如果不存在则激活 profile。另一方面,exists则会检查文件是否存在,如果存在则激活profile。 -->
                <file>
                    <!-- 如果指定的文件存在,则激活profile。 -->
                    <exists>
                        /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ </exists>
                    <!-- 如果指定的文件不存在,则激活profile。 -->
                    <missing>
                        /usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/ </missing>
                </file>
            </activation>
            <!-- 构建项目所需要的信息。参见build元素 -->
            <build>
                <defaultGoal />
                <resources>
                    <resource>
                        <targetPath />
                        <filtering />
                        <directory />
                        <includes />
                        <excludes />
                    </resource>
                </resources>
                <testResources>
                    <testResource>
                        <targetPath />
                        <filtering />
                        <directory />
                        <includes />
                        <excludes />
                    </testResource>
                </testResources>
                <directory />
                <finalName />
                <filters />
                <pluginManagement>
                    <plugins>
                        <!-- 参见build/pluginManagement/plugins/plugin元素 -->
                        <plugin>
                            <groupId />
                            <artifactId />
                            <version />
                            <extensions />
                            <executions>
                                <execution>
                                    <id />
                                    <phase />
                                    <goals />
                                    <inherited />
                                    <configuration />
                                </execution>
                            </executions>
                            <dependencies>
                                <!-- 参见dependencies/dependency元素 -->
                                <dependency>
                                </dependency>
                            </dependencies>
                            <goals />
                            <inherited />
                            <configuration />
                        </plugin>
                    </plugins>
                </pluginManagement>
                <plugins>
                    <!-- 参见build/pluginManagement/plugins/plugin元素 -->
                    <plugin>
                        <groupId />
                        <artifactId />
                        <version />
                        <extensions />
                        <executions>
                            <execution>
                                <id />
                                <phase />
                                <goals />
                                <inherited />
                                <configuration />
                            </execution>
                        </executions>
                        <dependencies>
                            <!-- 参见dependencies/dependency元素 -->
                            <dependency>
                            </dependency>
                        </dependencies>
                        <goals />
                        <inherited />
                        <configuration />
                    </plugin>
                </plugins>
            </build>
            <!-- 模块(有时称作子项目) 被构建成项目的一部分。列出的每个模块元素是指向该模块的目录的相对路径 -->
            <modules />
            <!-- 发现依赖和扩展的远程仓库列表。 -->
            <repositories>
                <!-- 参见repositories/repository元素 -->
                <repository>
                    <releases>
                        <enabled />
                        <updatePolicy />
                        <checksumPolicy />
                    </releases>
                    <snapshots>
                        <enabled />
                        <updatePolicy />
                        <checksumPolicy />
                    </snapshots>
                    <id />
                    <name />
                    <url />
                    <layout />
                </repository>
            </repositories>
            <!-- 发现插件的远程仓库列表,这些插件用于构建和报表 -->
            <pluginRepositories>
                <!-- 包含需要连接到远程插件仓库的信息.参见repositories/repository元素 -->
                <pluginRepository>
                    <releases>
                        <enabled />
                        <updatePolicy />
                        <checksumPolicy />
                    </releases>
                    <snapshots>
                        <enabled />
                        <updatePolicy />
                        <checksumPolicy />
                    </snapshots>
                    <id />
                    <name />
                    <url />
                    <layout />
                </pluginRepository>
            </pluginRepositories>
            <!-- 该元素描述了项目相关的所有依赖。 这些依赖组成了项目构建过程中的一个个环节。它们自动从项目定义的仓库中下载。要获取更多信息,请看项目依赖机制。 -->
            <dependencies>
                <!-- 参见dependencies/dependency元素 -->
                <dependency>
                </dependency>
            </dependencies>
            <!-- 不赞成使用. 现在Maven忽略该元素. -->
            <reports />
            <!-- 该元素包括使用报表插件产生报表的规范。当用户执行“mvn site”,这些报表就会运行。 在页面导航栏能看到所有报表的链接。参见reporting元素 -->
            <reporting>
            </reporting>
            <!-- 参见dependencyManagement元素 -->
            <dependencyManagement>
                <dependencies>
                    <!-- 参见dependencies/dependency元素 -->
                    <dependency>
                    </dependency>
                </dependencies>
            </dependencyManagement>
            <!-- 参见distributionManagement元素 -->
            <distributionManagement>
            </distributionManagement>
            <!-- 参见properties元素 -->
            <properties />
        </profile>
    </profiles>
    <!-- 模块(有时称作子项目) 被构建成项目的一部分。列出的每个模块元素是指向该模块的目录的相对路径 -->
    <modules />
    <!-- 发现依赖和扩展的远程仓库列表。 -->
    <repositories>
        <!-- 包含需要连接到远程仓库的信息 -->
        <repository>
            <!-- 如何处理远程仓库里发布版本的下载 -->
            <releases>
                <!-- true或者false表示该仓库是否为下载某种类型构件(发布版,快照版)开启。 -->
                <enabled />
                <!-- 该元素指定更新发生的频率。Maven会比较本地POM和远程POM的时间戳。这里的选项是:always(一直),daily(默认,每日),interval:X(这里X是以分钟为单位的时间间隔),或者never(从不)。 -->
                <updatePolicy />
                <!-- 当Maven验证构件校验文件失败时该怎么做:ignore(忽略),fail(失败),或者warn(警告)。 -->
                <checksumPolicy />
            </releases>
            <!-- 如何处理远程仓库里快照版本的下载。有了releases和snapshots这两组配置,POM就可以在每个单独的仓库中,为每种类型的构件采取不同的策略。例如,可能有人会决定只为开发目的开启对快照版本下载的支持。参见repositories/repository/releases元素 -->
            <snapshots>
                <enabled />
                <updatePolicy />
                <checksumPolicy />
            </snapshots>
            <!-- 远程仓库唯一标识符。可以用来匹配在settings.xml文件里配置的远程仓库 -->
            <id> banseon-repository-proxy </id>
            <!-- 远程仓库名称 -->
            <name> banseon-repository-proxy </name>
            <!-- 远程仓库URL,按protocol://hostname/path形式 -->
            <url> http://192.168.1.169:9999/repository/ </url>
            <!-- 用于定位和排序构件的仓库布局类型-可以是default(默认)或者legacy(遗留)。Maven 2为其仓库提供了一个默认的布局;然而,Maven 
                1.x有一种不同的布局。我们可以使用该元素指定布局是default(默认)还是legacy(遗留)。 -->
            <layout> default </layout>
        </repository>
    </repositories>
    <!-- 发现插件的远程仓库列表,这些插件用于构建和报表 -->
    <pluginRepositories>
        <!-- 包含需要连接到远程插件仓库的信息.参见repositories/repository元素 -->
        <pluginRepository>
        </pluginRepository>
    </pluginRepositories>
    <!-- 该元素描述了项目相关的所有依赖。 这些依赖组成了项目构建过程中的一个个环节。它们自动从项目定义的仓库中下载。要获取更多信息,请看项目依赖机制。 -->
    <dependencies>
        <dependency>
            <!-- 依赖的group ID -->
            <groupId> org.apache.maven </groupId>
            <!-- 依赖的artifact ID -->
            <artifactId> maven-artifact </artifactId>
            <!-- 依赖的版本号。 在Maven 2里, 也可以配置成版本号的范围。 -->
            <version> 3.8.1 </version>
            <!-- 依赖类型,默认类型是jar。它通常表示依赖的文件的扩展名,但也有例外。一个类型可以被映射成另外一个扩展名或分类器。类型经常和使用的打包方式对应,尽管这也有例外。一些类型的例子:jar,war,ejb-client和test-jar。如果设置extensions为 
                true,就可以在plugin里定义新的类型。所以前面的类型的例子不完整。 -->
            <type> jar </type>
            <!-- 依赖的分类器。分类器可以区分属于同一个POM,但不同构建方式的构件。分类器名被附加到文件名的版本号后面。例如,如果你想要构建两个单独的构件成JAR,一个使用Java 
                1.4编译器,另一个使用Java 6编译器,你就可以使用分类器来生成两个单独的JAR构件。 -->
            <classifier></classifier>
            <!-- 依赖范围。在项目发布过程中,帮助决定哪些构件被包括进来。欲知详情请参考依赖机制。 - compile :默认范围,用于编译 - provided:类似于编译,但支持你期待jdk或者容器提供,类似于classpath 
                - runtime: 在执行时需要使用 - test: 用于test任务时使用 - system: 需要外在提供相应的元素。通过systemPath来取得 
                - systemPath: 仅用于范围为system。提供相应的路径 - optional: 当项目自身被依赖时,标注依赖是否传递。用于连续依赖时使用 -->
            <scope> test </scope>
            <!-- 仅供system范围使用。注意,不鼓励使用这个元素,并且在新的版本中该元素可能被覆盖掉。该元素为依赖规定了文件系统上的路径。需要绝对路径而不是相对路径。推荐使用属性匹配绝对路径,例如${java.home}。 -->
            <systemPath></systemPath>
            <!-- 当计算传递依赖时, 从依赖构件列表里,列出被排除的依赖构件集。即告诉maven你只依赖指定的项目,不依赖项目的依赖。此元素主要用于解决版本冲突问题 -->
            <exclusions>
                <exclusion>
                    <artifactId> spring-core </artifactId>
                    <groupId> org.springframework </groupId>
                </exclusion>
            </exclusions>
            <!-- 可选依赖,如果你在项目B中把C依赖声明为可选,你就需要在依赖于B的项目(例如项目A)中显式的引用对C的依赖。可选依赖阻断依赖的传递性。 -->
            <optional> true </optional>
        </dependency>
    </dependencies>
    <!-- 不赞成使用. 现在Maven忽略该元素. -->
    <reports></reports>
    <!-- 该元素描述使用报表插件产生报表的规范。当用户执行“mvn site”,这些报表就会运行。 在页面导航栏能看到所有报表的链接。 -->
    <reporting>
        <!-- true,则,网站不包括默认的报表。这包括“项目信息”菜单中的报表。 -->
        <excludeDefaults />
        <!-- 所有产生的报表存放到哪里。默认值是${project.build.directory}/site。 -->
        <outputDirectory />
        <!-- 使用的报表插件和他们的配置。 -->
        <plugins>
            <!-- plugin元素包含描述报表插件需要的信息 -->
            <plugin>
                <!-- 报表插件在仓库里的group ID -->
                <groupId />
                <!-- 报表插件在仓库里的artifact ID -->
                <artifactId />
                <!-- 被使用的报表插件的版本(或版本范围) -->
                <version />
                <!-- 任何配置是否被传播到子项目 -->
                <inherited />
                <!-- 报表插件的配置 -->
                <configuration />
                <!-- 一组报表的多重规范,每个规范可能有不同的配置。一个规范(报表集)对应一个执行目标 。例如,有1,2,3,4,5,6,7,8,9个报表。1,2,5构成A报表集,对应一个执行目标。2,5,8构成B报表集,对应另一个执行目标 -->
                <reportSets>
                    <!-- 表示报表的一个集合,以及产生该集合的配置 -->
                    <reportSet>
                        <!-- 报表集合的唯一标识符,POM继承时用到 -->
                        <id />
                        <!-- 产生报表集合时,被使用的报表的配置 -->
                        <configuration />
                        <!-- 配置是否被继承到子POMs -->
                        <inherited />
                        <!-- 这个集合里使用到哪些报表 -->
                        <reports />
                    </reportSet>
                </reportSets>
            </plugin>
        </plugins>
    </reporting>
    <!-- 继承自该项目的所有子项目的默认依赖信息。这部分的依赖信息不会被立即解析,而是当子项目声明一个依赖(必须描述group ID和artifact 
        ID信息),如果group ID和artifact ID以外的一些信息没有描述,则通过group ID和artifact ID匹配到这里的依赖,并使用这里的依赖信息。 -->
    <dependencyManagement>
        <dependencies>
            <!-- 参见dependencies/dependency元素 -->
            <dependency>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <!-- 项目分发信息,在执行mvn deploy后表示要发布的位置。有了这些信息就可以把网站部署到远程服务器或者把构件部署到远程仓库。 -->
    <distributionManagement>
        <!-- 部署项目产生的构件到远程仓库需要的信息 -->
        <repository>
            <!-- 是分配给快照一个唯一的版本号(由时间戳和构建流水号)?还是每次都使用相同的版本号?参见repositories/repository元素 -->
            <uniqueVersion />
            <id></id>
            <name> banseon maven2 </name>
            <url> file://${basedir}/target/deploy </url>
            <layout />
        </repository>
        <!-- 构件的快照部署到哪里?如果没有配置该元素,默认部署到repository元素配置的仓库,参见distributionManagement/repository元素 -->
        <snapshotRepository>
            <uniqueVersion />
            <id></id>
            <name>Snapshot Repository </name>
            <url> scp://svn.baidu.com/banseon:/usr/local/maven-snapshot </url>
            <layout />
        </snapshotRepository>
        <!-- 部署项目的网站需要的信息 -->
        <site>
            <!-- 部署位置的唯一标识符,用来匹配站点和settings.xml文件里的配置 -->
            <id> banseon-site </id>
            <!-- 部署位置的名称 -->
            <name> business api website </name>
            <!-- 部署位置的URL,按protocol://hostname/path形式 -->
            <url>
                scp://svn.baidu.com/banseon:/var/www/localhost/banseon-web
            </url>
        </site>
        <!-- 项目下载页面的URL。如果没有该元素,用户应该参考主页。使用该元素的原因是:帮助定位那些不在仓库里的构件(由于license限制)。 -->
        <downloadUrl />
        <!-- 如果构件有了新的group ID和artifact ID(构件移到了新的位置),这里列出构件的重定位信息。 -->
        <relocation>
            <!-- 构件新的group ID -->
            <groupId />
            <!-- 构件新的artifact ID -->
            <artifactId />
            <!-- 构件新的版本号 -->
            <version />
            <!-- 显示给用户的,关于移动的额外信息,例如原因。 -->
            <message />
        </relocation>
        <!-- 给出该构件在远程仓库的状态。不得在本地项目中设置该元素,因为这是工具自动更新的。有效的值有:none(默认),converted(仓库管理员从Maven 
            1 POM转换过来),partner(直接从伙伴Maven 2仓库同步过来),deployed(从Maven 2实例部署),verified(被核实时正确的和最终的)。 -->
        <status />
    </distributionManagement>
    <!-- 以值替代名称,Properties可以在整个POM中使用,也可以作为触发条件(见settings.xml配置文件里activation元素的说明)。格式是<name>value</name>。 -->
    <properties />
</project> 
pom.xml 中文版

 

 

<xs:all>
<xs:element name="parent" minOccurs="0" type="Parent">...</xs:element>
<xs:element name="modelVersion" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="groupId" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="artifactId" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="packaging" minOccurs="0" type="xs:string" default="jar">...</xs:element>
<xs:element name="name" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="version" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="description" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="url" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="prerequisites" minOccurs="0" type="Prerequisites">...</xs:element>
<xs:element name="issueManagement" minOccurs="0" type="IssueManagement">...</xs:element>
<xs:element name="ciManagement" minOccurs="0" type="CiManagement">...</xs:element>
<xs:element name="inceptionYear" minOccurs="0" type="xs:string">...</xs:element>
<xs:element name="mailingLists" minOccurs="0">...</xs:element>
<xs:element name="developers" minOccurs="0">...</xs:element>
<xs:element name="contributors" minOccurs="0">...</xs:element>
<xs:element name="licenses" minOccurs="0">...</xs:element>
<xs:element name="scm" minOccurs="0" type="Scm">...</xs:element>
<xs:element name="organization" minOccurs="0" type="Organization">...</xs:element>
<xs:element name="build" minOccurs="0" type="Build">...</xs:element>
<xs:element name="profiles" minOccurs="0">...</xs:element>
<xs:element name="modules" minOccurs="0">...</xs:element>
<xs:element name="repositories" minOccurs="0">...</xs:element>
<xs:element name="pluginRepositories" minOccurs="0">...</xs:element>
<xs:element name="dependencies" minOccurs="0">...</xs:element>
<xs:element name="reports" minOccurs="0">...</xs:element>
<xs:element name="reporting" minOccurs="0" type="Reporting">...</xs:element>
<xs:element name="dependencyManagement" minOccurs="0" type="DependencyManagement">...</xs:element>
<xs:element name="distributionManagement" minOccurs="0" type="DistributionManagement">...</xs:element>
<xs:element name="properties" minOccurs="0">...</xs:element>
</xs:all>

 

<xs:complexType name="Contributor">...</xs:complexType>
<xs:complexType name="Profile">...</xs:complexType>
<xs:complexType name="Activation">...</xs:complexType>
<xs:complexType name="ActivationFile">...</xs:complexType>
<xs:complexType name="ActivationProperty">...</xs:complexType>
<xs:complexType name="ActivationOS">...</xs:complexType>
<xs:complexType name="DependencyManagement">...</xs:complexType>
<xs:complexType name="Dependency">...</xs:complexType>
<xs:complexType name="Exclusion">...</xs:complexType>
<xs:complexType name="Reporting">...</xs:complexType>
<xs:complexType name="ReportPlugin">...</xs:complexType>
<xs:complexType name="ReportSet">...</xs:complexType>
<xs:complexType name="BuildBase">...</xs:complexType>
<xs:complexType name="Plugin">...</xs:complexType>
<xs:complexType name="PluginExecution">...</xs:complexType>
<xs:complexType name="PluginManagement">...</xs:complexType>
<xs:complexType name="Resource">...</xs:complexType>
<xs:complexType name="DistributionManagement">...</xs:complexType>
<xs:complexType name="Site">...</xs:complexType>
<xs:complexType name="Relocation">...</xs:complexType>
<xs:complexType name="DeploymentRepository">...</xs:complexType>
<xs:complexType name="Repository">...</xs:complexType>
<xs:complexType name="RepositoryPolicy">...</xs:complexType>
<xs:complexType name="MailingList">...</xs:complexType>
<xs:complexType name="Build">...</xs:complexType>
<xs:complexType name="Extension">...</xs:complexType>
<xs:complexType name="IssueManagement">...</xs:complexType>
<xs:complexType name="Parent">...</xs:complexType>
<xs:complexType name="Prerequisites">...</xs:complexType>
<xs:complexType name="CiManagement">...</xs:complexType>
<xs:complexType name="Notifier">...</xs:complexType>
<xs:complexType name="License">...</xs:complexType>
<xs:complexType name="Developer">...</xs:complexType>
<xs:complexType name="Scm">...</xs:complexType>
<xs:complexType name="Organization">...</xs:complexType>

 

8) pom.xml

原文:http://www.cnblogs.com/zno2/p/4497244.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!