getArtifact

Back to index

Summary

Retrieves an artifact by name.
artifactName
Stringrequired
The name of the artifact, compose of the group and artifact concatenated by ':', e.g. "group:artifact". Alternatively, the groupId and artifactKey arguments may be used.
artifactKey
Stringoptional
The artifactKey component of the GAV (GroupId/ArtifactKey/Version) coordinates.
groupId
Stringoptional
The groupId component of the GAV (GroupId/ArtifactKey/Version) coordinates.

Usage

Perl

$cmdr->getArtifact( "test-artifactName" # artifactName # optionals );

ectool

ectool getArtifact \ "test-artifactName" `# artifactName` \ # optionals

Examples

Perl

$cmdr->getArtifact("myGroup:myKey");

ectool

ectool getArtifact "myGroup:myKey"