You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2021/10/04 07:05:20 UTC
[maven] branch MNG-7279-drop-deprecated-ctor created (now 598455a)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a change to branch MNG-7279-drop-deprecated-ctor
in repository https://gitbox.apache.org/repos/asf/maven.git.
at 598455a [MNG-7279] Drop deprecated constructor
This branch includes the following new commits:
new 598455a [MNG-7279] Drop deprecated constructor
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-7279] Drop deprecated constructor
Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch MNG-7279-drop-deprecated-ctor
in repository https://gitbox.apache.org/repos/asf/maven.git
commit 598455a51a479995c937649f8b65d3117f61c02f
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon Oct 4 09:03:54 2021 +0200
[MNG-7279] Drop deprecated constructor
This constructor was deprecated in Maven 3.0-RC1 (!!!).
Removal also means that Maven4 will NOT work with
(Maven2 compatible) m-enforcer-p 2.x, only with
modern m-enforcer-p 3.x line.
---
.../apache/maven/plugin/PluginParameterExpressionEvaluator.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java b/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
index 5d98748..f621b63 100644
--- a/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
+++ b/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
@@ -26,7 +26,6 @@ import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugin.descriptor.MojoDescriptor;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
import org.apache.maven.project.MavenProject;
-import org.apache.maven.project.path.PathTranslator;
import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
import org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator;
import org.codehaus.plexus.util.introspection.ReflectionValueExtractor;
@@ -84,14 +83,6 @@ public class PluginParameterExpressionEvaluator
private Properties properties;
- @Deprecated //TODO used by the Enforcer plugin (cstamas: not anymore, since 3.0.0)
- public PluginParameterExpressionEvaluator( MavenSession session, MojoExecution mojoExecution,
- PathTranslator pathTranslator, MavenProject project,
- Properties properties )
- {
- this( session, mojoExecution );
- }
-
public PluginParameterExpressionEvaluator( MavenSession session )
{
this( session, null );