PR: MNG-644

remove deprecated interface method

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293343 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-03 13:30:01 +00:00
parent ae1a7b9580
commit 14e6e11295
2 changed files with 3 additions and 13 deletions

View File

@ -86,11 +86,8 @@ public class DefaultPluginVersionManager
return resolvePluginVersion( groupId, artifactId, project, settings, localRepository, true );
}
/**
* @deprecated Make private, use resolveReportPluginVersion(..) or resolvePluginVersion(..) instead.
*/
public String resolvePluginVersion( String groupId, String artifactId, MavenProject project, Settings settings,
ArtifactRepository localRepository, boolean resolveAsReportPlugin )
private String resolvePluginVersion( String groupId, String artifactId, MavenProject project, Settings settings,
ArtifactRepository localRepository, boolean resolveAsReportPlugin )
throws PluginVersionResolutionException
{
// first pass...if the plugin is specified in the pom, try to retrieve the version from there.
@ -561,7 +558,7 @@ public class DefaultPluginVersionManager
plugin.setUseVersion( version );
pluginRegistry.addPlugin( plugin );
pluginRegistry.flushPluginsByKey();
}

View File

@ -28,13 +28,6 @@ public interface PluginVersionManager
ArtifactRepository localRepository )
throws PluginVersionResolutionException;
/**
* @deprecated Use resolveReportPluginVersion(..) instead.
*/
String resolvePluginVersion( String groupId, String artifactId, MavenProject project, Settings settings,
ArtifactRepository localRepository, boolean processAsReport )
throws PluginVersionResolutionException;
String resolveReportPluginVersion( String groupId, String artifactId, MavenProject project, Settings settings,
ArtifactRepository localRepository )
throws PluginVersionResolutionException;