Package org.eclipse.aether.impl
Interface VersionResolver
public interface VersionResolver
Evaluates artifact meta/pseudo versions.
- Provisional:
- This type is provisional and can be changed, moved or removed without prior notice.
-
Method Summary
Modifier and TypeMethodDescriptionresolveVersion
(RepositorySystemSession session, VersionRequest request) Resolves an artifact's meta version (if any) to a concrete version.
-
Method Details
-
resolveVersion
VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request) throws VersionResolutionException Resolves an artifact's meta version (if any) to a concrete version. For example, resolves "1.0-SNAPSHOT" to "1.0-20090208.132618-23" or "RELEASE"/"LATEST" to "2.0".- Parameters:
session
- The repository session, must not benull
.request
- The version request, must not benull
- Returns:
- The version result, never
null
. - Throws:
VersionResolutionException
- If the metaversion could not be resolved.- See Also:
-