| FlexDoc/XML XSDDoc Demo | XML Schema for Maven POM 4.0.0

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

complexType "Resource"

Namespace: | http://maven.apache.org/POM/4.0.0
Content: | complex, 5 elements
Defined: | globally in maven-4.0.0.xsd; see XML source
Includes: | declarations of 5 elements
Referenced: | by 4 locations

Component Diagram

XML Representation Summary
<...>
Content: | targetPath? × filtering? × directory? × includes? × excludes?
</...>

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
ALL |  | 1..1 |  | this |
targetPath | xs:string | 0..1 | no | this | 3.0.0+ 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.
filtering | xs:string | 0..1 | no | this | 3.0.0+ 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`.
directory | xs:string | 0..1 | no | this | 3.0.0+ Describe the directory where the resources are stored. The path is relative to the POM.
includes | anonymous | 0..1 | no | this | 3.0.0+ A list of patterns to include, e.g. `**/*.xml`.
excludes | anonymous | 0..1 | no | this | 3.0.0+ A list of patterns to exclude, e.g. `**/*.xml`

Description
version:
3.0.0+
description:
This element describes all of the classpath resources associated with a project or unit tests.
Related Components

- All Direct / Indirect Based Elements (2):
  resource, testResource

Referenced By

- As direct type of local elements (4):
  resource, resource, testResource, testResource

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

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