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
Modifier and TypeMethodDescriptionresolve
(PluginVersionRequest request) Resolves the version for the specified request.
-
Method Details
-
resolve
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.
-