mirror of https://github.com/apache/maven.git
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:
parent
9ba38545ea
commit
671b0828ec
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue