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/07/14 05:14:18 UTC

[maven-plugin-tools] 01/01: [MPLUGIN-406] Deprecate requirements parameter in report Mojo

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

sjaranowski pushed a commit to branch MPLUGIN-406
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git

commit 7302f1377acdc2e971f1add7df83cfff99ba4af5
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Thu Jul 14 07:13:51 2022 +0200

    [MPLUGIN-406] Deprecate requirements parameter in report Mojo
---
 .../src/main/java/org/apache/maven/plugin/plugin/PluginReport.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
index 0ef02e59..14f839ac 100644
--- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
+++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
@@ -130,7 +130,10 @@ public class PluginReport
      * If not is specified, Maven requirement is extracted from
      * <code>&lt;project&gt;&lt;prerequisites&gt;&lt;maven&gt;</code>
      * and JDK requirement is extracted from maven-compiler-plugin configuration.
+     *
+     * @deprecated will be removed in next major version, please don't use
      */
+    @Deprecated
     @Parameter
     private Requirements requirements;