org.jvnet.maven.plugin.antrun
Class ArtifactElement
java.lang.Object
org.jvnet.maven.plugin.antrun.ArtifactElement
public class ArtifactElement
- extends Object
Represents <artifact> element in build.xml
This Java bean is a part of the XML configuration binding via Ant.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactElement
public ArtifactElement()
getGroupId
public String getGroupId()
setGroupId
public void setGroupId(String groupId)
getArtifactId
public String getArtifactId()
setArtifactId
public void setArtifactId(String artifactId)
getVersion
public String getVersion()
setVersion
public void setVersion(String version)
getType
public String getType()
setType
public void setType(String type)
getClassifier
public String getClassifier()
setClassifier
public void setClassifier(String classifier)
createArtifact
public org.apache.maven.artifact.Artifact createArtifact()
throws IOException
- Creates an
Artifact
from the configured information,
by possibly guessing parameters that were missing.
- Throws:
IOException
getId
public String getId()
throws IOException
- Retrurns the ID of this artifact after guessing omitted parameters.
The returned string follows the
Artifact.getId()
format.
- Throws:
IOException
Copyright © 2011. All Rights Reserved.