complexType "Parent"
Namespace:
Content:
complex, 4 elements
Defined:
globally in maven-4.0.0.xsd; see XML source
Includes:
definitions of 4 elements
Used:
Component Diagram
XML Representation Summary
<...>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
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.
XML Source (w/o annotations (5); see within schema source)
<xs:complexType name="Parent">
<xs:all>
<xs:element minOccurs="0" name="groupId" type="xs:string"/>
<xs:element minOccurs="0" name="artifactId" type="xs:string"/>
<xs:element minOccurs="0" name="version" type="xs:string"/>
<xs:element default="../pom.xml" minOccurs="0" name="relativePath" type="xs:string"/>
</xs:all>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 4/4)
artifactId
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The artifact id of the parent project to inherit from.
XML Representation Summary
<artifactId>
   
Content: 
{ xs:string }
</artifactId>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="artifactId" type="xs:string"/>

groupId
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The group id of the parent project to inherit from.
XML Representation Summary
<groupId>
   
Content: 
{ xs:string }
</groupId>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="groupId" type="xs:string"/>

relativePath
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
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.
XML Representation Summary
<relativePath>
   
Content: 
{ xs:string }
</relativePath>
Simple Content
Default:
"../pom.xml"
XML Source (w/o annotations (1); see within schema source)
<xs:element default="../pom.xml" minOccurs="0" name="relativePath" type="xs:string"/>

version
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The version of the parent project to inherit.
XML Representation Summary
<version>
   
Content: 
{ xs:string }
</version>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="version" 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.