dependency:list-classes

Full name:

org.apache.maven.plugins:maven-dependency-plugin:3.6.1:list-classes

Description:

Retrieves and lists all classes contained in the specified artifact from the specified remote repositories.

Attributes:

  • The goal is thread-safe and supports parallel builds.

Optional Parameters

Name Type Since Description
<artifact> String - A string of the form groupId:artifactId:version[:packaging[:classifier]].
User property is: artifact.
<artifactId> String - The artifact ID of the artifact to download. Ignored if artifact is used.
User property is: artifactId.
<classifier> String 2.3 The classifier of the artifact to download. Ignored if artifact is used.
User property is: classifier.
<groupId> String - The group ID of the artifact to download. Ignored if artifact is used.
User property is: groupId.
<packaging> String - The packaging of the artifact to download. Ignored if artifact is used.
Default value is: jar.
User property is: packaging.
<remoteRepositories> String - Repositories in the format id::[layout]::url or just URLs, separated by comma. That is, central::default::https://repo.maven.apache.org/maven2,myrepo::::https://repo.acme.com,https://repo.acme2.com
User property is: remoteRepositories.
<skip> boolean - Skip plugin execution completely.
Default value is: false.
User property is: mdep.skip.
<transitive> boolean - Download transitively, retrieving the specified artifact and all of its dependencies.
Default value is: false.
User property is: transitive.
<version> String - The version of the artifact to download. Ignored if artifact is used.
User property is: version.

Parameter Details

<artifact>

A string of the form groupId:artifactId:version[:packaging[:classifier]].
  • Type: java.lang.String
  • Required: No
  • User Property: artifact

<artifactId>

The artifact ID of the artifact to download. Ignored if artifact is used.
  • Type: java.lang.String
  • Required: No
  • User Property: artifactId

<classifier>

The classifier of the artifact to download. Ignored if artifact is used.
  • Type: java.lang.String
  • Since: 2.3
  • Required: No
  • User Property: classifier

<groupId>

The group ID of the artifact to download. Ignored if artifact is used.
  • Type: java.lang.String
  • Required: No
  • User Property: groupId

<packaging>

The packaging of the artifact to download. Ignored if artifact is used.
  • Type: java.lang.String
  • Required: No
  • User Property: packaging
  • Default: jar

<remoteRepositories>

Repositories in the format id::[layout]::url or just URLs, separated by comma. That is, central::default::https://repo.maven.apache.org/maven2,myrepo::::https://repo.acme.com,https://repo.acme2.com
  • Type: java.lang.String
  • Required: No
  • User Property: remoteRepositories

<skip>

Skip plugin execution completely.
  • Type: boolean
  • Required: No
  • User Property: mdep.skip
  • Default: false

<transitive>

Download transitively, retrieving the specified artifact and all of its dependencies.
  • Type: boolean
  • Required: No
  • User Property: transitive
  • Default: false

<version>

The version of the artifact to download. Ignored if artifact is used.
  • Type: java.lang.String
  • Required: No
  • User Property: version