Package org.apache.maven.api
Interface ArtifactCoordinate
- All Known Subinterfaces:
DependencyCoordinate
- All Known Implementing Classes:
DefaultArtifactCoordinate
,DefaultDependencyCoordinate
The
Coordinate
object is used to point to an Artifact
but the version may be specified as a range instead of an exact version.- Since:
- 4.0
-
Method Details
-
getGroupId
The groupId of the artifact.- Returns:
- the groupId
-
getArtifactId
The artifactId of the artifact.- Returns:
- the artifactId
-
getClassifier
The classifier of the artifact.- Returns:
- the classifier or an empty string if none, never
null
-
getVersion
The version of the artifact.- Returns:
- the version
-
getExtension
The extension of the artifact.- Returns:
- the extension or an empty string if none, never
null
-
getId
Unique id identifying this artifact
-