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/19 08:49:47 UTC

[maven-plugin-tools] branch master updated: [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 master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new b5d28ae4 [MPLUGIN-406] Deprecate requirements parameter in report Mojo
b5d28ae4 is described below

commit b5d28ae44231de77c77cfffe4dc7b7845f1cd42d
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 5ac003e1..5916df92 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
@@ -108,7 +108,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 the next major version, please don't use
      */
+    @Deprecated
     @Parameter
     private Requirements requirements;