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
 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 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.