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:17 UTC

[maven-plugin-tools] branch MPLUGIN-406 created (now 7302f137)

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

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


      at 7302f137 [MPLUGIN-406] Deprecate requirements parameter in report Mojo

This branch includes the following new commits:

     new 7302f137 [MPLUGIN-406] Deprecate requirements parameter in report Mojo

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-plugin-tools] 01/01: [MPLUGIN-406] Deprecate requirements parameter in report Mojo

Posted by sj...@apache.org.
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;