org.apache.maven.plugin.version.internal
Class DefaultPluginVersionResolver
java.lang.Object
org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver
- All Implemented Interfaces:
- PluginVersionResolver
@Component(role=PluginVersionResolver.class)
public class DefaultPluginVersionResolver
- extends Object
- implements PluginVersionResolver
Resolves a version for a plugin.
- Since:
- 3.0
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPluginVersionResolver
public DefaultPluginVersionResolver()
resolve
public PluginVersionResult resolve(PluginVersionRequest request)
throws PluginVersionResolutionException
- Description copied from interface:
PluginVersionResolver
- Resolves the version for the specified request.
- Specified by:
resolve
in interface PluginVersionResolver
- Parameters:
request
- The request that holds the details about the plugin and the repositories to consult, must not be
null
.
- Returns:
- The result of the version resolution, never
null
.
- Throws:
PluginVersionResolutionException
- If the plugin version could not be resolved.
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.