public class ArtifactElement extends Object
This Java bean is a part of the XML configuration binding via Ant.
Constructor and Description |
---|
ArtifactElement() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.artifact.Artifact |
createArtifact()
Creates an
Artifact from the configured information,
by possibly guessing parameters that were missing. |
String |
getArtifactId() |
String |
getClassifier() |
String |
getGroupId() |
String |
getId()
Retrurns the ID of this artifact after guessing omitted parameters.
|
String |
getType() |
String |
getVersion() |
void |
setArtifactId(String artifactId) |
void |
setClassifier(String classifier) |
void |
setGroupId(String groupId) |
void |
setType(String type) |
void |
setVersion(String version) |
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getVersion()
public void setVersion(String version)
public String getType()
public void setType(String type)
public String getClassifier()
public void setClassifier(String classifier)
public org.apache.maven.artifact.Artifact createArtifact() throws IOException
Artifact
from the configured information,
by possibly guessing parameters that were missing.IOException
public String getId() throws IOException
Artifact.getId()
format.IOException
Copyright © 2014. All rights reserved.