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:48:29 UTC
[maven] branch MNG-7021 updated (00f50b2 -> d997cfe)
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.
discard 00f50b2 [MNG-7021] Remove old MHELP backward compat code
new d997cfe [MNG-7021] Remove old MHELP backward compat code
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (00f50b2)
\
N -- N -- N refs/heads/MNG-7021 (d997cfe)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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.
Summary of changes:
.../main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java | 2 --
1 file changed, 2 deletions(-)
[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 d997cfe1dd877bcbc296b77c301b4d3672a4b54f
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 | 22 ----------------------
1 file changed, 22 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..b164f08 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
@@ -21,7 +21,6 @@ package org.apache.maven.lifecycle;
import java.util.Arrays;
import java.util.List;
-import java.util.Map;
import java.util.Set;
import javax.inject.Inject;
@@ -44,7 +43,6 @@ import org.apache.maven.plugin.PluginDescriptorParsingException;
import org.apache.maven.plugin.PluginManagerException;
import org.apache.maven.plugin.PluginNotFoundException;
import org.apache.maven.plugin.PluginResolutionException;
-import org.apache.maven.plugin.descriptor.MojoDescriptor;
import org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException;
import org.apache.maven.plugin.version.PluginVersionResolutionException;
import org.apache.maven.project.MavenProject;
@@ -108,26 +106,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" } )