This is strictly the model for Maven Repository Metadata, so really just plain objects.
The metadata file name is:
maven-metadata.xml
in a remote repository,maven-metadata-<repo-id>.xml
in a local repository, for metadata from a repository with repo-id
identifier.Depending on what the directory represents ("groupId", "groupId/artifactId" or "groupId/artifactId/version"), the Maven Repository Metadata file contains 3 different sets of metadata:
plugins
element,groupId
, artifactId
and versioning
element that gives data about available versions (latest
, release
, versions
list and lastUpdated
),groupId
, artifactId
, version
(base version, i.e. ending in -SNAPSHOT
) and versioning
element that gives data about snapshot (snapshot
, lastUpdated
and snapshotVersions
list). Notice that a release artifact directory is not expected to provide metadata.The following are generated from this model:
maven-metadata(-*).xml
files,For more information see this page: Maven Metadata.