Package org.apache.maven.internal.impl
Class DefaultVersionResolver
java.lang.Object
org.apache.maven.internal.impl.DefaultVersionResolver
- All Implemented Interfaces:
Service
,VersionResolver
-
Constructor Summary
ConstructorDescriptionDefaultVersionResolver
(org.eclipse.aether.RepositorySystem repositorySystem) -
Method Summary
Modifier and TypeMethodDescriptionresolve
(VersionResolverRequest request) Resolves an artifact's meta version (if any) to a concrete version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.services.VersionResolver
resolve
-
Constructor Details
-
DefaultVersionResolver
-
-
Method Details
-
resolve
public VersionResolverResult resolve(VersionResolverRequest request) throws VersionResolverException Description copied from interface:VersionResolver
Resolves an artifact's meta version (if any) to a concrete version. For example, resolves "1.0-SNAPSHOT" to "1.0-20090208.132618-23".- Specified by:
resolve
in interfaceVersionResolver
- Parameters:
request
- The version request, must not benull
.- Returns:
- The version result, never
null
. - Throws:
VersionResolverException
- If the metaversion could not be resolved.
-