dependency:get

Full name:

org.apache.maven.plugins:maven-dependency-plugin:2.3:get

Description:

Downloads a single artifact transitively from a specified remote repository.

Attributes:

Required Parameters

Name Type Since Description
repositoryUrl String - The url of the repository from which we'll download the artifact

Optional Parameters

Name Type Since Description
artifact String - A string of the form groupId:artifactId:version[:packaging][:classifier].
artifactId String - The artifactId of the artifact to download
classifier String 2.3 The classifier of the artifact to download. Ignored if artifact is used.
groupId String - The groupId of the artifact to download
packaging String - The packaging of the artifact to download
Default value is: jar.
repositoryId String - The id of the repository from which we'll download the artifact
Default value is: temp.
transitive boolean - Download transitively, retrieving the specified artifact and all of its dependencies.
Default value is: true.
version String - The version of the artifact to download

Parameter Details

artifact:

A string of the form groupId:artifactId:version[:packaging][:classifier].
  • Type: java.lang.String
  • Required: No
  • Expression: ${artifact}

artifactId:

The artifactId of the artifact to download
  • Type: java.lang.String
  • Required: No
  • Expression: ${artifactId}

classifier:

The classifier of the artifact to download. Ignored if artifact is used.
  • Type: java.lang.String
  • Since: 2.3
  • Required: No
  • Expression: ${classifier}

groupId:

The groupId of the artifact to download
  • Type: java.lang.String
  • Required: No
  • Expression: ${groupId}

packaging:

The packaging of the artifact to download
  • Type: java.lang.String
  • Required: No
  • Expression: ${packaging}
  • Default: jar

repositoryId:

The id of the repository from which we'll download the artifact
  • Type: java.lang.String
  • Required: No
  • Expression: ${repoId}
  • Default: temp

repositoryUrl:

The url of the repository from which we'll download the artifact
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${repoUrl}

transitive:

Download transitively, retrieving the specified artifact and all of its dependencies.
  • Type: boolean
  • Required: No
  • Expression: {$transitive}
  • Default: true

version:

The version of the artifact to download
  • Type: java.lang.String
  • Required: No
  • Expression: ${version}