@Mojo(name="list-classes",
requiresProject=false,
threadSafe=true)
public class ListClassesMojo
extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
ListClassesMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setArtifact(String artifact)
A string of the form
groupId:artifactId:version[:packaging[:classifier]] . |
void |
setArtifactId(String artifactId)
The artifact ID of the artifact to download.
|
void |
setClassifier(String classifier)
The classifier of the artifact to download.
|
void |
setGroupId(String groupId)
The group ID of the artifact to download.
|
void |
setPackaging(String packaging)
The packaging of the artifact to download.
|
void |
setVersion(String version)
The version of the artifact to download.
|
@Parameter(property="groupId") public void setGroupId(String groupId)
artifact
is used.@Parameter(property="artifactId") public void setArtifactId(String artifactId)
artifact
is used.@Parameter(property="version") public void setVersion(String version)
artifact
is used.@Parameter(property="classifier") public void setClassifier(String classifier)
artifact
is used.@Parameter(property="packaging", defaultValue="jar") public void setPackaging(String packaging)
artifact
is used.@Parameter(property="artifact") public void setArtifact(String artifact)
groupId:artifactId:version[:packaging[:classifier]]
.public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.