public interface Artifact
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArtifactId()
Gets the artifact identifier of this artifact, for example "maven-model".
|
java.lang.String |
getClassifier()
Gets the classifier of this artifact, for example "sources".
|
java.lang.String |
getExtension()
Gets the (file) extension of this artifact, for example "jar" or "tar.gz".
|
java.io.File |
getFile()
Gets the file of this artifact.
|
java.lang.String |
getGroupId()
Gets the group identifier of this artifact, for example "org.apache.maven".
|
java.lang.String |
getVersion()
Gets the version of this artifact, for example "1.0-20100529-1213".
|
java.lang.String getGroupId()
null.java.lang.String getArtifactId()
null.java.lang.String getVersion()
null.java.lang.String getClassifier()
null.java.lang.String getExtension()
null.java.io.File getFile()
null if the artifact isn't resolved.