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

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

element <dependency>

Namespace: | http://maven.apache.org/POM/4.0.0
Type: | Dependency
Content: | complex, 9 elements
Defined: | locally at 4 locations in maven-4.0.0.xsd

Component Diagram

XML Representation Summary
<dependency>
Content: | groupId? × artifactId? × version? × type? × classifier? × scope? × systemPath? × exclusions? × optional?
</dependency>

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
ALL |  | 1..1 |  | Dependency |
groupId | xs:string | 0..1 | no | Dependency | 3.0.0+ The project group that produced the dependency, e.g. `org.apache.maven`.
artifactId | xs:string | 0..1 | no | Dependency | 3.0.0+ The unique id for an artifact produced by the project group, e.g. `maven-artifact`.
version | xs:string | 0..1 | no | Dependency | 3.0.0+ The version of the dependency, e.g. `3.2.1`. »
type | xs:string : "jar" | 0..1 | no | Dependency | 4.0.0+ The type of dependency, that will be mapped to a file extension, an optional classifier, and a few other attributes. »
classifier | xs:string | 0..1 | no | Dependency | 4.0.0+ The classifier of the dependency. »
scope | xs:string | 0..1 | no | Dependency | 4.0.0+ The scope of the dependency - `compile`, `runtime`, `test`, `system`, and `provided`. »
systemPath | xs:string | 0..1 | no | Dependency | 4.0.0+ FOR SYSTEM SCOPE ONLY. »
exclusions | anonymous | 0..1 | no | Dependency | 4.0.0+ Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to calculating transitive dependencies.
optional | xs:string | 0..1 | no | Dependency | 4.0.0+ Indicates the dependency is optional for use of this library. »

Related Components

- Included in content model of elements (4):

  dependencies (in dependencyManagement), dependencies (in plugin : Plugin), | dependencies (in profile), dependencies (in project)

Definition Locations

- In anonymous complexTypes of elements (4):

  dependencies (in dependencyManagement) [def], dependencies (in plugin : Plugin) [def], | dependencies (in profile) [def], dependencies (in project) [def]

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.