Tracks the versions of a particular artifact in a Maven repository.
repository
(required): the base URL of the repositorygroup
(required): the group of the artifactartifact
(required): the name of the artifactclassifier
(defaults to none): the classifier of the artifactpackaging
(defaults tojar
): the packaging of the artifact
Resource configuration:
resources:
- name: spring-core-jar
type: maven
source:
repository: https://repo1.maven.org/maven2
group: org.springframework
artifact: spring-core
The set of available versions is obtained from the Maven metadata, and versions from the given version on are returned. If no version is given, the latest version is returned. It is assumed that the versions are in order in the metadata file.
The specified artifact is downloaded from the repository to the destination directory.
We hope to have the out script publish a new version to the repository, but this is tricky.