org.apache.maven.plugin.version.internal
Class DefaultPluginVersionResolver

java.lang.Object
  extended by 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

Constructor Summary
DefaultPluginVersionResolver()
           
 
Method Summary
 PluginVersionResult resolve(PluginVersionRequest request)
          Resolves the version for the specified request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPluginVersionResolver

public DefaultPluginVersionResolver()
Method Detail

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.