o Restored backward-compat with maven-help-plugin:2.1

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@926030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-03-22 11:08:38 +00:00
parent 699fc5b81d
commit c180c2137c
1 changed files with 10 additions and 0 deletions

View File

@ -1554,6 +1554,16 @@ public class DefaultLifecycleExecutor
return pluginManager.getMojoDescriptor( plugin, goal, repositoryRequest );
}
// NOTE: Backward-compat with maven-help-plugin:2.1
MojoDescriptor getMojoDescriptor( String task, MavenSession session, MavenProject project, String invokedVia,
boolean canUsePrefix, boolean isOptionalMojo )
throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
PluginVersionResolutionException
{
return getMojoDescriptor( task, session, project );
}
private void resolvePluginVersion( Plugin plugin, RepositoryRequest repositoryRequest )
throws PluginVersionResolutionException
{