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

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

complexType "Parent"

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

Component Diagram

XML Representation Summary
<...>
Content: | groupId? × artifactId? × version? × relativePath?
</...>

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
ALL |  | 1..1 |  | this |
groupId | xs:string | 0..1 | no | this | 4.0.0+ The group id of the parent project to inherit from.
artifactId | xs:string | 0..1 | no | this | 4.0.0+ The artifact id of the parent project to inherit from.
version | xs:string | 0..1 | no | this | 4.0.0+ The version of the parent project to inherit.
relativePath | xs:string : "../pom.xml" | 0..1 | no | this | 4.0.0+ The relative path of the parent `pom.xml` file within the check out. If not specified, it defaults to `../pom.xml`. Maven looks for the parent POM first in this location on the filesystem, then the local repository, and lastly in the remote repo. `relativePath` 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. Set the value to an empty string in case you want to disable the feature and always resolve the parent POM from the repositories.

Description
version:
4.0.0+
description:
The `<parent>` element contains information required to locate the parent project from which this project will inherit from. Note: The children of this element are not interpolated and must be given as literal values.
Related Components

- All Direct / Indirect Based Elements (1):
  parent

Referenced By

- As direct type of local elements (1):
  parent

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.