Package org.apache.maven.plugin.version
Interface PluginVersionResolver
-
- All Known Implementing Classes:
DefaultPluginVersionResolver
public interface PluginVersionResolver
Resolves a version for a plugin.- Since:
- 3.0
- Author:
- Benjamin Bentmann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginVersionResult
resolve(PluginVersionRequest request)
Resolves the version for the specified request.
-
-
-
Method Detail
-
resolve
PluginVersionResult resolve(PluginVersionRequest request) throws PluginVersionResolutionException
Resolves the version for the specified request.- Parameters:
request
- The request that holds the details about the plugin and the repositories to consult, must not benull
.- Returns:
- The result of the version resolution, never
null
. - Throws:
PluginVersionResolutionException
- If the plugin version could not be resolved.
-
-