You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2020/11/13 22:38:43 UTC

[maven] branch MNG-7021 created (now 00f50b2)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-7021
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at 00f50b2  [MNG-7021] Remove old MHELP backward compat code

This branch includes the following new commits:

     new 00f50b2  [MNG-7021] Remove old MHELP backward compat code

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven] 01/01: [MNG-7021] Remove old MHELP backward compat code

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-7021
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 00f50b2a06fb040945416d1ba2f5b5676ee1bc54
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Fri Nov 13 23:38:36 2020 +0100

    [MNG-7021] Remove old MHELP backward compat code
---
 .../maven/lifecycle/DefaultLifecycleExecutor.java    | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
index 63b7654..f9ec3bb 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
@@ -108,26 +108,6 @@ public class DefaultLifecycleExecutor
         return lifeCyclePluginAnalyzer.getPluginsBoundByDefaultToAllLifecycles( packaging );
     }
 
-    // USED BY MAVEN HELP PLUGIN
-
-    @Deprecated
-    public Map<String, Lifecycle> getPhaseToLifecycleMap()
-    {
-        return defaultLifeCycles.getPhaseToLifecycleMap();
-    }
-
-    // NOTE: Backward-compat with maven-help-plugin:2.1
-
-    @SuppressWarnings( { "UnusedDeclaration" } )
-    MojoDescriptor getMojoDescriptor( String task, MavenSession session, MavenProject project, String invokedVia,
-                                      boolean canUsePrefix, boolean isOptionalMojo )
-        throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
-        MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
-        PluginVersionResolutionException
-    {
-        return mojoDescriptorCreator.getMojoDescriptor( task, session, project );
-    }
-
     // Used by m2eclipse
 
     @SuppressWarnings( { "UnusedDeclaration" } )