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/13 20:39:26 UTC

[maven-plugin-tools] branch master updated: [MPLUGIN-374] deprecate unused requiresReports flag

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-plugin-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 2bf1277  [MPLUGIN-374] deprecate unused requiresReports flag
2bf1277 is described below

commit 2bf1277a1c80baca9e81cfe6d42bc9866af884e4
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Oct 4 21:31:48 2021 +0200

    [MPLUGIN-374] deprecate unused requiresReports flag
---
 .../src/main/java/org/apache/maven/plugins/annotations/Mojo.java       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Mojo.java b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Mojo.java
index e442310..ec5fce1 100644
--- a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Mojo.java
+++ b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Mojo.java
@@ -83,7 +83,10 @@ public @interface Mojo
     /**
      * does your mojo requires a reporting context to be executed?
      * @return requires a reporting context
+     *
+     * @deprecated unused
      */
+    @Deprecated
     boolean requiresReports() default false;
 
     /**