mirror of https://github.com/apache/maven.git
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:
parent
699fc5b81d
commit
c180c2137c
maven-core/src/main/java/org/apache/maven/lifecycle
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue