From d84a1989a8ed40a7d4e34ca44d71ab5c3437fbf0 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Sat, 27 Oct 2012 15:53:03 +0000 Subject: [PATCH] improved description for the 3 different use-cases: un-versioned artifact, snapshot artifact and group containing Maven plugins git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402812 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/mdo/metadata.mdo | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/maven-repository-metadata/src/main/mdo/metadata.mdo b/maven-repository-metadata/src/main/mdo/metadata.mdo index 21eaeb18ab..979200273f 100644 --- a/maven-repository-metadata/src/main/mdo/metadata.mdo +++ b/maven-repository-metadata/src/main/mdo/metadata.mdo @@ -24,9 +24,11 @@ under the License. repository-metadata Metadata groupId, artifactId, versioning), but - plugins is used when the directory represents a group.]]> +

Per-directory repository metadata, for directories representing un-versioned artifact, snapshot artifact + or a group containing Maven plugins.

+

Notice that most metadata content has a meaning when the directory represents + an artifact (groupId, artifactId, versioning), but + plugins is used when the directory represents a group.

]]>
@@ -61,7 +63,7 @@ under the License. version 1.0.0+ String - The version that this directory represents, if any. + The version that this directory represents, if any. It is used for artifact snapshots only. versioning @@ -211,7 +213,7 @@ under the License. Versioning 1.0.0+ - Versioning information for an artifact + Versioning information for an artifact (un-versioned or snapshot) latest @@ -223,7 +225,7 @@ under the License. release 1.0.0+ String - What the latest version in the directory is, of the releases + What the latest version in the directory is, of the releases only snapshot @@ -231,12 +233,12 @@ under the License. Snapshot - The current snapshot data in use for this version + The current snapshot data in use for this version (artifact snapshots only) versions 1.0.0+ - Versions available for the artifact + Versions available of the artifact (both releases and snapshots) String * @@ -251,7 +253,7 @@ under the License. snapshotVersions 1.1.0+ - The snapshot versions available for the artifact. + Information for each sub-artifact available in this artifact snapshot. SnapshotVersion * @@ -281,7 +283,7 @@ under the License. Snapshot 1.0.0+ - Snapshot data for the current version + Snapshot data for the current artifact version timestamp @@ -307,26 +309,26 @@ under the License. SnapshotVersion 1.1.0+ - Versioning information for a snapshot artifact. + Versioning information for a sub-artifact of the current snapshot artifact. classifier 1.1.0+ String - The classifier of the snapshot artifact this version information belongs to. + The classifier of the sub-artifact. extension 1.1.0+ String - The file extension of the snapshot artifact this version information belongs to. + The file extension of thesub-artifact. version 1.1.0+ String - The resolved snapshot version of the artifact. + The resolved snapshot version of the sub-artifact. updated @@ -340,7 +342,7 @@ under the License. Plugin 1.0.0+ Mapping information for a single plugin within this group - NOTE: plugin version is _NOT_ included here, since it is resolved using a separate algorithm. + NOTE: plugin version is _NOT_ included here, since it is resolved using a separate algorithm in plugins' artifact. name