You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/04/23 09:08:38 UTC
[maven-integration-testing] 01/01: [MNG-5222] Improvement in deprecated params detection enable for 3.9.x
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch MNG-5222-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
commit 7421f3f6c33290c51a08b02c4b7dbcd7463ad1bb
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sat Apr 23 11:07:43 2022 +0200
[MNG-5222] Improvement in deprecated params detection enable for 3.9.x
---
.../org/apache/maven/it/MavenITmng5222MojoDeprecatedParamsTest.java | 2 +-
.../java/org/apache/maven/plugin/coreit/DeprecatedConfigMojo.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5222MojoDeprecatedParamsTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5222MojoDeprecatedParamsTest.java
index 08135e362..cd17f1b1b 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5222MojoDeprecatedParamsTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5222MojoDeprecatedParamsTest.java
@@ -35,7 +35,7 @@ public class MavenITmng5222MojoDeprecatedParamsTest
{
public MavenITmng5222MojoDeprecatedParamsTest()
{
- super( "[4.0.0-alpha-1,)" );
+ super( "[3.9.0,)" );
}
/**
diff --git a/core-it-support/core-it-plugins/maven-it-plugin-configuration/src/main/java/org/apache/maven/plugin/coreit/DeprecatedConfigMojo.java b/core-it-support/core-it-plugins/maven-it-plugin-configuration/src/main/java/org/apache/maven/plugin/coreit/DeprecatedConfigMojo.java
index 873995bf6..642b12330 100644
--- a/core-it-support/core-it-plugins/maven-it-plugin-configuration/src/main/java/org/apache/maven/plugin/coreit/DeprecatedConfigMojo.java
+++ b/core-it-support/core-it-plugins/maven-it-plugin-configuration/src/main/java/org/apache/maven/plugin/coreit/DeprecatedConfigMojo.java
@@ -51,13 +51,13 @@ public class DeprecatedConfigMojo
/**
* @deprecated bean read only
*/
- @Parameter( defaultValue = "${project.artifact}", readonly = true )
+ @Parameter( defaultValue = "${project.artifact}", readonly = true )
private Artifact deprecatedBeanReadOnly;
/**
* @deprecated bean
*/
- @Parameter( defaultValue = "${project.artifact}" )
+ @Parameter( defaultValue = "${project.artifact}" )
private Artifact deprecatedBean;
/**