complexType Resource

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

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="Resource">
    <
xs:annotation>
        <
xs:documentation source="version">3.0.0+</xs:documentation>
        <
xs:documentation source="description">
This element describes all of the resources associated with a project or
unit tests. Each resource is described by a resource element, which is
then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete the
jar file or to run unit test.
        
</xs:documentation>
    </
xs:annotation>
    <
xs:all>
        <
xs:element name="targetPath" type="xs:string" minOccurs="0">
            <
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 appear into a specific package
(<code>org.apache.maven.messages</code>), you must specify this
element with this value : <code>org/apache/maven/messages</code>
                
</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="filtering" type="xs:boolean" default="false" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0</xs:documentation>
                <
xs:documentation source="description">Boolean. Describe if resources are filtered or not.</xs:documentation>
            </
xs:annotation>
        </
xs:element>
        <
xs:element name="directory" type="xs:string" minOccurs="0">
            <
xs:annotation>
                <
xs:documentation source="version">3.0.0+</xs:documentation>
                <
xs:documentation source="description">
Describe the directory where the resource is stored.
The path may be absolute, or relative to the project.xml file.
                
</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">the description</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                </
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">the description</xs:documentation>
            </
xs:annotation>
            <
xs:complexType>
                <
xs:sequence>
                    <
xs:element name="exclude" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                </
xs:sequence>
            </
xs:complexType>
        </
xs:element>
    </
xs:all>
</
xs:complexType>


Documentation

See also: version
3.0.0+
See also: description
This element describes all of the resources associated with a project or
unit tests. Each resource is described by a resource element, which is
then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete the
jar file or to run unit test.


complexType Resource


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.