Interface DependencyManagementVersionResolver
Deprecated, for removal: This API element is subject to removal in a future version.
A
DependencyManagementVersionResolver is used to resolve the versions in the
managed dependencies of a Maven bom. Implementations must be thread-safe.- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Resolves the versions in the managed dependencies of the bom identified by the givengroupId,artifactId, andversion.withCacheLocation(Path location) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newDependencyManagementVersionResolverthat uses the givenlocationfor its local cache.
-
Method Details
-
resolve
Deprecated, for removal: This API element is subject to removal in a future version.Resolves the versions in the managed dependencies of the bom identified by the givengroupId,artifactId, andversion.- Parameters:
groupId- bom group IDartifactId- bom artifact IDversion- bom version- Returns:
- the managed dependencies as a map of
groupId:artifactIdtoversion
-
withCacheLocation
Deprecated, for removal: This API element is subject to removal in a future version.Creates a newDependencyManagementVersionResolverthat uses the givenlocationfor its local cache. To avoid multiple instances attempting to write to the same location cache, callers should ensure that a unique location is used. The returned resolver can then be used concurrently by multiple threads.- Parameters:
location- cache location- Returns:
- the resolver
-
MavenVersionResolver.