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 09:56:15 UTC
[maven] branch master updated: [MNG-7279] Drop deprecated
constructor (#564)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new d75bea4 [MNG-7279] Drop deprecated constructor (#564)
d75bea4 is described below
commit d75bea415457b2eba7815bb9c3e9cd4e14b47fce
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon Oct 4 11:56:09 2021 +0200
[MNG-7279] Drop deprecated constructor (#564)
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 );