Concourse resource to stage maven artifacts.
1M+
Concourse resource to copy maven resources from one repository to another.
This resource assumes that the the source and target repositories are hosted within the same server, thus same authorization applies.
Theget will download the resources and if not defined
otherwise (download_only set to true)
it will upload it to target repository.
source_url: Required. The source maven repository location.target_url: Required. The target maven repository location.artifact: Required. The artifact coordinates in the form of groupId:artifactId:type[:classifier]username: Optional. The username used to authenticate.password: Optional. The password used to authenticate.verbose: Optional. True to write intensive log.Checks for new versions of the artifact by retrieving the maven-metadata.xml from the source repository.
Download the source artifact from repository and puts it to target. It will create the following files in the target directory:
version containing the given versionParameters:
version: Optional Make ability to provide version instead of getting the latest.
If the version is a file, the version will be read from the file.download_only: Optional If true will only download, and will not upload. Defaults to false.Undefined.
resource_types:
- name: maven-stage-resource
type: docker-image
source:
repository: lorands/maven-stage-resource
resources:
- name: stage-to-uat
type: maven-stage-resource
source:
source_url: https://mynexus.example.com/repository/develop
target_url: https://mynexus.example.com/repository/uat
artifact: my.group:my-artifact:jar
username: myUser
password: myPass
jobs:
- name: merge-dev-to-uat
plan:
- get: dev-artifact
Content type
Image
Digest
Size
88.9 MB
Last updated
almost 7 years ago
docker pull lorands/maven-stage-resource