remove unused function

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-05-04 14:55:57 +00:00
parent 9ba38545ea
commit 671b0828ec
2 changed files with 1 additions and 12 deletions

View File

@ -170,19 +170,11 @@ public class DefaultPluginManager
// //
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
public boolean isPluginInstalled( String groupId, String artifactId ) private boolean isPluginInstalled( String groupId, String artifactId )
{ {
return pluginDescriptors.containsKey( PluginDescriptor.constructPluginKey( groupId, artifactId ) ); return pluginDescriptors.containsKey( PluginDescriptor.constructPluginKey( groupId, artifactId ) );
} }
public void verifyPluginForGoal( String goalName, MavenSession session )
throws ArtifactResolutionException, PluginManagerException
{
String pluginId = PluginDescriptor.getPluginArtifactIdFromGoal( goalName );
verifyPlugin( PluginDescriptor.getDefaultPluginGroupId(), pluginId, session );
}
public void verifyPlugin( String groupId, String artifactId, MavenSession session ) public void verifyPlugin( String groupId, String artifactId, MavenSession session )
throws ArtifactResolutionException, PluginManagerException throws ArtifactResolutionException, PluginManagerException
{ {

View File

@ -35,9 +35,6 @@ public interface PluginManager
MojoDescriptor getMojoDescriptor( String goalId ); MojoDescriptor getMojoDescriptor( String goalId );
void verifyPluginForGoal( String goalName, MavenSession session )
throws ArtifactResolutionException, PluginManagerException;
void verifyPlugin( String groupId, String artifactId, MavenSession session ) void verifyPlugin( String groupId, String artifactId, MavenSession session )
throws ArtifactResolutionException, PluginManagerException; throws ArtifactResolutionException, PluginManagerException;