dependency:list-classes

Full name:

org.apache.maven.plugins:maven-dependency-plugin:3.8.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.
  • Since version: 3.1.3.

Optional Parameters

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

Parameter Details

<artifact>

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

<artifactId>

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

<classifier>

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

<groupId>

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

<packaging>

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

<remoteRepositories>

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

<skip>

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

<transitive>

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

<version>

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