org.apache.maven.plugin.version
Class DefaultPluginVersionManager

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.plugin.version.DefaultPluginVersionManager
All Implemented Interfaces:
PluginVersionManager, org.codehaus.plexus.logging.LogEnabled

public class DefaultPluginVersionManager
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements PluginVersionManager


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.version.PluginVersionManager
ROLE
 
Constructor Summary
DefaultPluginVersionManager()
           
 
Method Summary
 String resolvePluginVersion(String groupId, String artifactId, MavenProject project, Settings settings, ArtifactRepository localRepository)
           
 String resolveReportPluginVersion(String groupId, String artifactId, MavenProject project, Settings settings, ArtifactRepository localRepository)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPluginVersionManager

public DefaultPluginVersionManager()
Method Detail

resolvePluginVersion

public String resolvePluginVersion(String groupId,
                                   String artifactId,
                                   MavenProject project,
                                   Settings settings,
                                   ArtifactRepository localRepository)
                            throws PluginVersionResolutionException,
                                   InvalidPluginException,
                                   PluginVersionNotFoundException
Specified by:
resolvePluginVersion in interface PluginVersionManager
Throws:
PluginVersionResolutionException
InvalidPluginException
PluginVersionNotFoundException

resolveReportPluginVersion

public String resolveReportPluginVersion(String groupId,
                                         String artifactId,
                                         MavenProject project,
                                         Settings settings,
                                         ArtifactRepository localRepository)
                                  throws PluginVersionResolutionException,
                                         InvalidPluginException,
                                         PluginVersionNotFoundException
Specified by:
resolveReportPluginVersion in interface PluginVersionManager
Throws:
PluginVersionResolutionException
InvalidPluginException
PluginVersionNotFoundException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.