complexType Dependency

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

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


Source

<xs:complexType name="Dependency">
    <
xs:annotation>
        <
xs:documentation source="version">3.0.0+</xs:documentation>
    </
xs:annotation>
    <
xs:all>
        <
xs:element name="id" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
<p>The name of the dependency.</p>
<p>
<strong>Note:</strong> The use of the id element for
a dependency is deprecated. Please use <code>groupId</code> and
<code>artifactId</code> together instead.
</p>
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="groupId" type="xs:string" minOccurs="0">
            <
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>geronimo</code>.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="artifactId" type="xs:string" minOccurs="0">
            <
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>germonimo-jms</code>
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="version" type="xs:string" minOccurs="0">
            <
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></xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="url" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">
This url will be provided to the user if the jar file cannot be downloaded
from the central repository.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="jar" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">Literal name of the artifact. Used to override the calculated artifact name.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="type" type="xs:string" default="jar" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0+</xs:documentation>
                <
xs:documentation source="description">
The type of dependency. This defaults to <code>jar</code>.
Known recognised dependency types are:
<ul>
<li><code>jar</code></li>
<li><code>ejb</code></li>
<li><code>plugin</code></li>
</ul>
                
</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 dependency. Various plugins allow you to
<code>mark</code> dependencies with properties. For example the
<a href="/plugins/war/index.html">war</a> plugin looks for a
<code>war.bundle</code> property, and if found will include the
dependency in <code>WEB-INF/lib</code>. For example syntax, check
the war plugin docs.
                
</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
    </
xs:all>
</
xs:complexType>


Documentation

See also: version
3.0.0+


complexType Dependency


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