public class DependencyManagementArtifactCoordinatesResolver extends java.lang.Object implements ArtifactCoordinatesResolver
| Constructor and Description |
|---|
DependencyManagementArtifactCoordinatesResolver() |
DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArtifactId(java.lang.String id)
Gets the artifact id of the artifact identified by the given
module. |
java.lang.String |
getGroupId(java.lang.String artifactId)
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. |
public DependencyManagementArtifactCoordinatesResolver()
public DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement)
public java.lang.String getGroupId(java.lang.String artifactId)
ArtifactCoordinatesResolvermodule. Returns
null if the artifact is unknown to the resolver.getGroupId in interface ArtifactCoordinatesResolverartifactId - the id of the modulepublic java.lang.String getArtifactId(java.lang.String id)
ArtifactCoordinatesResolvermodule.
Returns null if the artifact is unknown to the resolver.getArtifactId in interface ArtifactCoordinatesResolverid - the id of the modulepublic java.lang.String getVersion(java.lang.String module)
ArtifactCoordinatesResolvermodule. Returns
null if the artifact is unknown to the resolver.getVersion in interface ArtifactCoordinatesResolvermodule - the id of the module