complexType "Resource"
Namespace:
Content:
complex, 5 elements
Defined:
globally in maven-4.0.0.xsd; see XML source
Includes:
definitions of 5 elements
Used:
Component Diagram
XML Representation Summary
<...>
   
Content: 
</...>
All Direct / Indirect Based Elements (2):
Known Usage Locations
Annotation
version:
3.0.0+
description:
This element describes all of the classpath resources associated with a project or unit tests.
XML Source (w/o annotations (6); see within schema source)
<xs:complexType name="Resource">
<xs:all>
<xs:element minOccurs="0" name="targetPath" type="xs:string"/>
<xs:element minOccurs="0" name="filtering" type="xs:string"/>
<xs:element minOccurs="0" name="directory" type="xs:string"/>
<xs:element minOccurs="0" name="includes">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="include" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="excludes">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="exclude" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 5/5)
directory
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
Describe the directory where the resources are stored. The path is relative to the POM.
XML Representation Summary
<directory>
   
Content: 
{ xs:string }
</directory>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="directory" type="xs:string"/>

excludes
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
A list of patterns to exclude, e.g. **/*.xml
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="excludes">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="exclude" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

filtering
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
Whether resources are filtered to replace tokens with parameterised values or not. The values are taken from the properties element and from the properties in the files listed in the filters element. Note: While the type of this field is String for technical reasons, the semantic type is actually Boolean. Default value is false.
XML Representation Summary
<filtering>
   
Content: 
{ xs:string }
</filtering>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="filtering" type="xs:string"/>

includes
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
A list of patterns to include, e.g. **/*.xml.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="includes">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="include" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

targetPath
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
Describe the resource target path. The path is relative to the target/classes directory (i.e. ${project.build.outputDirectory}). For example, if you want that resource to appear in a specific package (org.apache.maven.messages), you must specify this element with this value: org/apache/maven/messages. This is not required if you simply put the resources in that directory structure at the source, however.
XML Representation Summary
<targetPath>
   
Content: 
{ xs:string }
</targetPath>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="targetPath" type="xs:string"/>

XML schema documentation generated with FlexDoc/XML 1.13 using FlexDoc/XML XSDDoc 2.9.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.