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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `VersionResult` | `resolveVersion(RepositorySystemSession session, VersionRequest request)` Resolves an artifact's meta version (if any) to a concrete version.

- - ### Method Detail

    - #### 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 be `null`.
        `request` - The version request, must not be `null`
      Returns:
        The version result, never `null`.
      Throws:
        `VersionResolutionException` - If the metaversion could not be resolved.
      See Also:
        `RepositorySystem.resolveVersion(RepositorySystemSession, VersionRequest)`

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.