Per-directory repository metadata.
<metadata xmlns="http://maven.apache.org/METADATA/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/METADATA/1.1.0 http://maven.apache.org/xsd/metadata-1.1.0.xsd" modelVersion=.. > <groupId/> <artifactId/> <version/> <versioning> <latest/> <release/> <snapshot> <timestamp/> <buildNumber/> <localCopy/> </snapshot> <versions/> <lastUpdated/> <snapshotVersions> <snapshotVersion> <classifier/> <extension/> <value/> <updated/> </snapshotVersion> </snapshotVersions> </versioning> <plugins> <plugin> <name/> <prefix/> <artifactId/> </plugin> </plugins> </metadata>
No description.
Attribute | Type | Description |
---|---|---|
modelVersion | String | The version of the underlying metadata model. |
Element | Type | Description |
---|---|---|
groupId | String | The groupId that is directory represents, if any. |
artifactId | String | The artifactId that is directory represents, if any. |
version | String | The version that is directory represents, if any. |
versioning | Versioning | Versioning information for the artifact. |
plugins/plugin* | List<Plugin> | (Many) The set of plugin mappings for the group |
Versioning information for an artifact
Element | Type | Description |
---|---|---|
latest | String | What the latest version in the directory is, including snapshots |
release | String | What the latest version in the directory is, of the releases |
snapshot | Snapshot | The current snapshot data in use for this version |
versions/version* | List<String> | (Many) Versions available for the artifact |
lastUpdated | String | When the metadata was last updated |
snapshotVersions/snapshotVersion* | List<SnapshotVersion> | (Many) The snapshot versions available for the artifact. |
Snapshot data for the current version
Element | Type | Description |
---|---|---|
timestamp | String | The time it was deployed |
buildNumber | int | The incremental build number Default value is: 0. |
localCopy | boolean | Whether to use a local copy instead (with filename that includes the base version) Default value is: false. |
Versioning information for a snapshot artifact.
Element | Type | Description |
---|---|---|
classifier | String | The classifier of the snapshot artifact this version information belongs to. Default value is: . |
extension | String | The file extension of the snapshot artifact this version information belongs to. |
value | String | The resolved snapshot version of the artifact. |
updated | String | The timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss. |