Module for fetching artifacts from Nexus 3.x
New in version 2018.3.0.
salt.modules.nexus.
get_latest_release
(nexus_url, repository, group_id, artifact_id, packaging, target_dir='/tmp', target_file=None, classifier=None, username=None, password=None)¶Gets the latest release of the artifact
URL of nexus instance
Release repository in nexus to retrieve artifact from, for example: libs-releases
Group Id of the artifact
Artifact Id of the artifact
Packaging type (jar,war,ear,etc)
Target directory to download artifact to (default: /tmp)
Target file to download artifact to (by default it is target_dir/artifact_id-version.packaging)
Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
nexus username. Optional parameter.
nexus password. Optional parameter.
salt.modules.nexus.
get_latest_snapshot
(nexus_url, repository, group_id, artifact_id, packaging, target_dir='/tmp', target_file=None, classifier=None, username=None, password=None)¶Gets latest snapshot of the given artifact
URL of nexus instance
Snapshot repository in nexus to retrieve artifact from, for example: libs-snapshots
Group Id of the artifact
Artifact Id of the artifact
Packaging type (jar,war,ear,etc)
Target directory to download artifact to (default: /tmp)
Target file to download artifact to (by default it is target_dir/artifact_id-snapshot_version.packaging)
Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
nexus username. Optional parameter.
nexus password. Optional parameter.
salt.modules.nexus.
get_release
(nexus_url, repository, group_id, artifact_id, packaging, version, target_dir='/tmp', target_file=None, classifier=None, username=None, password=None)¶Gets the specified release of the artifact
URL of nexus instance
Release repository in nexus to retrieve artifact from, for example: libs-releases
Group Id of the artifact
Artifact Id of the artifact
Packaging type (jar,war,ear,etc)
Version of the artifact
Target directory to download artifact to (default: /tmp)
Target file to download artifact to (by default it is target_dir/artifact_id-version.packaging)
Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
nexus username. Optional parameter.
nexus password. Optional parameter.
salt.modules.nexus.
get_snapshot
(nexus_url, repository, group_id, artifact_id, packaging, version, snapshot_version=None, target_dir='/tmp', target_file=None, classifier=None, username=None, password=None)¶Gets snapshot of the desired version of the artifact
URL of nexus instance
Snapshot repository in nexus to retrieve artifact from, for example: libs-snapshots
Group Id of the artifact
Artifact Id of the artifact
Packaging type (jar,war,ear,etc)
Version of the artifact
Target directory to download artifact to (default: /tmp)
Target file to download artifact to (by default it is target_dir/artifact_id-snapshot_version.packaging)
Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
nexus username. Optional parameter.
nexus password. Optional parameter.
salt.modules.nexus.
get_snapshot_version_string
(nexus_url, repository, group_id, artifact_id, packaging, version, classifier=None, username=None, password=None)¶Gets the specific version string of a snapshot of the desired version of the artifact
URL of nexus instance
Snapshot repository in nexus to retrieve artifact from, for example: libs-snapshots
Group Id of the artifact
Artifact Id of the artifact
Packaging type (jar,war,ear,etc)
Version of the artifact
Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
nexus username. Optional parameter.
nexus password. Optional parameter.
salt.modules.nexus.
nexusError
(value)¶