Class ListClassesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.dependency.ListClassesMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
@Mojo(name="list-classes",
      requiresProject=false,
      threadSafe=true)
public class ListClassesMojo
extends org.apache.maven.plugin.AbstractMojo
Retrieves and lists all classes contained in the specified artifact from the specified remote repositories.
- Since:
- 3.1.3
- 
Field SummaryFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()voidsetArtifact(String artifact) A string of the formgroupId:artifactId:version[:packaging[:classifier]].voidsetArtifactId(String artifactId) The artifact ID of the artifact to download.voidsetClassifier(String classifier) The classifier of the artifact to download.voidsetGroupId(String groupId) The group ID of the artifact to download.voidsetPackaging(String packaging) The packaging of the artifact to download.voidsetVersion(String version) The version of the artifact to download.Methods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Constructor Details- 
ListClassesMojo
 
- 
- 
Method Details- 
setGroupIdThe group ID of the artifact to download. Ignored ifartifactis used.- Since:
- 3.1.3
 
- 
setArtifactIdThe artifact ID of the artifact to download. Ignored ifartifactis used.- Since:
- 3.1.3
 
- 
setVersionThe version of the artifact to download. Ignored ifartifactis used.- Since:
- 3.1.3
 
- 
setClassifierThe classifier of the artifact to download. Ignored ifartifactis used.- Since:
- 3.1.3
 
- 
setPackagingThe packaging of the artifact to download. Ignored ifartifactis used.- Since:
- 3.1.3
 
- 
setArtifactA string of the formgroupId:artifactId:version[:packaging[:classifier]].- Since:
- 3.1.3
 
- 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
 
-