public interface ArtifactCoordinatesResolver
groupId:artifactId:version
, in which case coordinate resolution simply extracts
the relevant piece from the identifier. Alternatively the identifier may be in the form
artifactId
, in which case coordinate resolution uses implementation-specific
metadata to resolve the groupId and version.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifactId(java.lang.String module)
Gets the artifact id of the artifact identified by the given
module . |
java.lang.String |
getGroupId(java.lang.String module)
Gets the group id of the artifact identified by the given
module . |
java.lang.String |
getVersion(java.lang.String module)
Gets the version of the artifact identified by the given
module . |
java.lang.String getGroupId(java.lang.String module)
module
. Returns
null
if the artifact is unknown to the resolver.module
- the id of the modulejava.lang.String getArtifactId(java.lang.String module)
module
.
Returns null
if the artifact is unknown to the resolver.module
- the id of the modulejava.lang.String getVersion(java.lang.String module)
module
. Returns
null
if the artifact is unknown to the resolver.module
- the id of the module