complexType "DeploymentRepository"
Namespace:
Content:
complex, 7 elements
Defined:
globally in maven-4.0.0.xsd; see XML source
Includes:
definitions of 7 elements
Used:
Component Diagram
XML Representation Summary
<...>
   
Content: 
uniqueVersion? × releases? × snapshots? × id? × name? × url? × layout?
</...>
All Direct / Indirect Based Elements (2):
Known Usage Locations
Annotation
version:
4.0.0+
description:
Repository contains the information needed for deploying to the remote repository.
XML Source (w/o annotations (8); see within schema source)
<xs:complexType name="DeploymentRepository">
<xs:all>
<xs:element default="true" minOccurs="0" name="uniqueVersion" type="xs:boolean"/>
<xs:element minOccurs="0" name="releases" type="RepositoryPolicy"/>
<xs:element minOccurs="0" name="snapshots" type="RepositoryPolicy"/>
<xs:element minOccurs="0" name="id" type="xs:string"/>
<xs:element minOccurs="0" name="name" type="xs:string"/>
<xs:element minOccurs="0" name="url" type="xs:string"/>
<xs:element default="default" minOccurs="0" name="layout" type="xs:string"/>
</xs:all>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 7/7)
id
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
A unique identifier for a repository. This is used to match the repository to configuration in the settings.xml file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged.
XML Representation Summary
<id>
   
Content: 
{ xs:string }
</id>
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="id" type="xs:string"/>

layout
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The type of layout this repository uses for locating and storing artifacts - can be legacy or default.
XML Representation Summary
<layout>
   
Content: 
{ xs:string }
</layout>
Simple Content
Default:
"default"
XML Source (w/o annotations (1); see within schema source)
<xs:element default="default" minOccurs="0" name="layout" type="xs:string"/>

name
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
Human readable name of the repository.
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"/>

releases
Type:
RepositoryPolicy, complex content
version:
4.0.0+
description:
How to handle downloading of releases from this repository.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="releases" type="RepositoryPolicy"/>

snapshots
Type:
RepositoryPolicy, complex content
version:
4.0.0+
description:
How to handle downloading of snapshots from this repository.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="snapshots" type="RepositoryPolicy"/>

uniqueVersion
Type:
xs:boolean, predefined, simple content
version:
4.0.0+
description:
Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time
XML Representation Summary
<uniqueVersion>
   
Content: 
{ xs:boolean }
</uniqueVersion>
Simple Content
Default:
"true"
XML Source (w/o annotations (1); see within schema source)
<xs:element default="true" minOccurs="0" name="uniqueVersion" type="xs:boolean"/>

url
Type:
xs:string, predefined, simple content
version:
4.0.0+
description:
The url of the repository, in the form protocol://hostname/path.
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"/>

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.