complexType "Model"
Namespace:
Content:
complex, 1 attribute, 30 elements
Defined:
globally in maven-4.0.0.xsd; see XML source
Includes:
definitions of 1 attribute, 30 elements
Used:
Component Diagram
XML Representation Summary
<...
   
 = 
xs:string
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
version:
3.0.0+
description:
The <project> element is the root of the descriptor. The following table lists all of the possible child elements.
XML Source (w/o annotations (32); see within schema source)
<xs:complexType name="Model">
<xs:all>
<xs:element minOccurs="0" name="modelVersion" type="xs:string"/>
<xs:element minOccurs="0" name="parent" type="Parent"/>
<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="jar" minOccurs="0" name="packaging" type="xs:string"/>
<xs:element minOccurs="0" name="name" type="xs:string"/>
<xs:element minOccurs="0" name="description" type="xs:string"/>
<xs:element minOccurs="0" name="url" type="xs:string"/>
<xs:element minOccurs="0" name="inceptionYear" type="xs:string"/>
<xs:element minOccurs="0" name="organization" type="Organization"/>
<xs:element minOccurs="0" name="licenses">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="license" type="License"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="developers">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="developer" type="Developer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="contributors">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="contributor" type="Contributor"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="mailingLists">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="mailingList" type="MailingList"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="prerequisites" type="Prerequisites"/>
<xs:element minOccurs="0" name="modules">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="module" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="scm" type="Scm"/>
<xs:element minOccurs="0" name="issueManagement" type="IssueManagement"/>
<xs:element minOccurs="0" name="ciManagement" type="CiManagement"/>
<xs:element minOccurs="0" name="distributionManagement" type="DistributionManagement"/>
<xs:element minOccurs="0" name="properties">
<xs:complexType>
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="dependencyManagement" type="DependencyManagement"/>
<xs:element minOccurs="0" name="dependencies">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="dependency" type="Dependency"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="repositories">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="repository" type="Repository"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="pluginRepositories">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="pluginRepository" type="Repository"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="build" type="Build"/>
<xs:element minOccurs="0" name="reports">
<xs:complexType>
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="reporting" type="Reporting"/>
<xs:element minOccurs="0" name="profiles">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="profile" type="Profile"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="child.project.url.inherit.append.path" type="xs:string" use="optional"/>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 1/1)
child.project.url.inherit.append.path
Type:
xs:string, predefined
Use:
optional
version:
4.0.0+
description:
When children inherit from project's url, append path or not? Note: While the type of this field is String for technical reasons, the semantic type is actually Boolean
Default value is: true
Since: Maven 3.6.1
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="child.project.url.inherit.append.path" type="xs:string" use="optional"/>
Content Element Detail (all declarations; defined within this component only; 30/30)
artifactId
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
The identifier for this artifact that is unique within the group given by the group ID. An artifact is something that is either produced or used by a project. Examples of artifacts produced by Maven for a project include: JARs, source and binary distributions, and WARs.
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"/>

build
Type:
Build, complex content
version:
3.0.0+
description:
Information required to build the project.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="build" type="Build"/>

ciManagement
Type:
CiManagement, complex content
version:
4.0.0+
description:
The project's continuous integration information.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ciManagement" type="CiManagement"/>

contributors
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
Describes the contributors to a project that are not yet committers.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="contributors">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="contributor" type="Contributor"/>
</xs:sequence>
</xs:complexType>
</xs:element>

dependencies
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
This element describes all of the dependencies associated with a project. These dependencies are used to construct a classpath for your project during the build process. They are automatically downloaded from the repositories defined in this project. See the dependency mechanism for more information.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="dependencies">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="dependency" type="Dependency"/>
</xs:sequence>
</xs:complexType>
</xs:element>

dependencyManagement
Type:
DependencyManagement, complex content
version:
4.0.0+
description:
Default dependency information for projects that inherit from this one. The dependencies in this section are not immediately resolved. Instead, when a POM derived from this one declares a dependency described by a matching groupId and artifactId, the version and other values from this section are used for that dependency if they were not already specified.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="dependencyManagement" type="DependencyManagement"/>

description
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
A detailed description of the project, used by Maven whenever it needs to describe the project, such as on the web site. While this element can be specified as CDATA to enable the use of HTML tags within the description, it is discouraged to allow plain text representation. If you need to modify the index page of the generated web site, you are able to specify your own instead of adjusting this text.
XML Representation Summary
<description>
   
Content: 
{ xs:string }
</description>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="description" type="xs:string"/>

developers
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
Describes the committers of a project.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="developers">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="developer" type="Developer"/>
</xs:sequence>
</xs:complexType>
</xs:element>

distributionManagement
Type:
DistributionManagement, complex content
version:
4.0.0+
description:
Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="distributionManagement" type="DistributionManagement"/>

groupId
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
A universally unique identifier for a project. It is normal to use a fully-qualified package name to distinguish it from other projects with a similar name (eg. org.apache.maven).
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"/>

inceptionYear
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
The year of the project's inception, specified with 4 digits. This value is used when generating copyright notices as well as being informational.
XML Representation Summary
<inceptionYear>
   
Content: 
{ xs:string }
</inceptionYear>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="inceptionYear" type="xs:string"/>

issueManagement
Type:
IssueManagement, complex content
version:
4.0.0+
description:
The project's issue management system information.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="issueManagement" type="IssueManagement"/>

licenses
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
This element describes all of the licenses for this project. Each license is described by a license element, which is then described by additional elements. Projects should only list the license(s) that applies to the project and not the licenses that apply to dependencies. If multiple licenses are listed, it is assumed that the user can select any of them, not that they must accept all.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="licenses">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="license" type="License"/>
</xs:sequence>
</xs:complexType>
</xs:element>

mailingLists
Type:
anonymous complexType, complex content
version:
3.0.0+
description:
Contains information about a project's mailing lists.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="mailingLists">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="mailingList" type="MailingList"/>
</xs:sequence>
</xs:complexType>
</xs:element>

modelVersion
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
Declares to which version of project descriptor this POM conforms.
XML Representation Summary
<modelVersion>
   
Content: 
{ xs:string }
</modelVersion>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="modelVersion" type="xs:string"/>

modules
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
The modules (sometimes called subprojects) to build as a part of this project. Each module listed is a relative path to the directory containing the module. To be consistent with the way default urls are calculated from parent, it is recommended to have module names match artifact ids.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="modules">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="module" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

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

organization
Type:
Organization, complex content
version:
3.0.0+
description:
This element describes various attributes of the organization to which the project belongs. These attributes are utilized when documentation is created (for copyright notices and links).
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="organization" type="Organization"/>

packaging
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The type of artifact this project produces, for example jar war ear pom. Plugins can create their own packaging, and therefore their own packaging types, so this list does not contain all possible types.
XML Representation Summary
<packaging>
   
Content: 
{ xs:string }
</packaging>
Simple Content
Default:
"jar"
XML Source (w/o annotations (1); see within schema source)
<xs:element default="jar" minOccurs="0" name="packaging" type="xs:string"/>

parent
Type:
Parent, complex content
version:
4.0.0+
description:
The location of the parent project, if one exists. Values from the parent project will be the default for this project if they are left unspecified. The location is given as a group ID, artifact ID and version.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="parent" type="Parent"/>

pluginRepositories
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
The lists of the remote repositories for discovering plugins for builds and reports.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="pluginRepositories">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="pluginRepository" type="Repository"/>
</xs:sequence>
</xs:complexType>
</xs:element>

prerequisites
Type:
Prerequisites, complex content
version:
4.0.0+
description:
Describes the prerequisites in the build environment for this project.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="prerequisites" type="Prerequisites"/>

profiles
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
A listing of project-local build profiles which will modify the build process when activated.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="profiles">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="profile" type="Profile"/>
</xs:sequence>
</xs:complexType>
</xs:element>

properties
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
Properties that can be used throughout the POM as a substitution, and are used as filters in resources if enabled. The format is <name>value</name>.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="properties">
<xs:complexType>
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>

reporting
Type:
Reporting, complex content
version:
4.0.0+
description:
This element includes the specification of report plugins to use to generate the reports on the Maven-generated site. These reports will be run when a user executes mvn site. All of the reports will be included in the navigation bar for browsing.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="reporting" type="Reporting"/>

reports
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
Deprecated. Now ignored by Maven.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="reports">
<xs:complexType>
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>

repositories
Type:
anonymous complexType, complex content
version:
4.0.0+
description:
The lists of the remote repositories for discovering dependencies and extensions.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="repositories">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="repository" type="Repository"/>
</xs:sequence>
</xs:complexType>
</xs:element>

scm
Type:
Scm, complex content
version:
4.0.0+
description:
Specification for the SCM used by the project, such as CVS, Subversion, etc.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="scm" type="Scm"/>

url
Type:
xs:string, predefined, simple content
version:
3.0.0+
description:
The URL to the project's homepage.
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if project's child.project.url.inherit.append.path="false"
XML Representation Summary
<url>
   
Content: 
{ xs:string }
</url>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="url" type="xs:string"/>

version
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The current version of the artifact produced by this project.
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.