@Mojo(name="get",
requiresProject=false,
threadSafe=true)
public class GetMojo
extends org.apache.maven.plugin.AbstractMojo
settings.xml
Constructor and Description |
---|
GetMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected boolean |
isSkip() |
void |
setArtifactId(String artifactId)
The artifactId of the artifact to resolve.
|
void |
setClassifier(String classifier)
The classifier of the artifact to resolve.
|
void |
setGroupId(String groupId)
The groupId of the artifact to resolve.
|
void |
setPackaging(String type)
The packaging of the artifact to resolve.
|
void |
setVersion(String version)
The version of the artifact to resolve.
|
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected boolean isSkip()
skip
@Parameter(property="groupId") public void setGroupId(String groupId)
artifact
is used.groupId
- The groupId.@Parameter(property="artifactId") public void setArtifactId(String artifactId)
artifact
is used.artifactId
- The artifactId.@Parameter(property="version") public void setVersion(String version)
artifact
is used.version
- The version.@Parameter(property="classifier") public void setClassifier(String classifier)
artifact
is used.classifier
- The classifier to be used.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.