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 TypeMethodDescriptionorg.eclipse.aether.resolution.VersionResult
resolveVersion
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request) Resolves an artifact's meta version (if any) to a concrete version.
-
Method Details
-
resolveVersion
org.eclipse.aether.resolution.VersionResult resolveVersion(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request) throws org.eclipse.aether.resolution.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:
org.eclipse.aether.resolution.VersionResolutionException
- If the metaversion could not be resolved.- See Also:
-