Interface ArtifactCoordinates
- All Known Subinterfaces:
DependencyCoordinates
- All Known Implementing Classes:
DefaultArtifactCoordinates, DefaultDependencyCoordinates
Partial identification of an
Artifact in a Maven repository.
Each ArtifactCoordinates instance is basically a pointer to a file in the Maven repository,
except that the exact version may not be known yet.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier of the artifact.Returns the classifier of the artifact.Returns the file extension of the artifact.Returns the group identifier of the artifact.default StringgetId()Returns a unique string identifying this artifact.Returns the specific version, range of versions, or meta-version of the artifact.
-
Method Details
-
getGroupId
-
getArtifactId
-
getClassifier
-
getVersionConstraint
Returns the specific version, range of versions, or meta-version of the artifact.. A meta-version is a version suffixed with theSNAPSHOTkeyword.- Returns:
- the specific version, range of versions, or meta-version of the artifact
-
getExtension
-
getId
-