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/12/02 21:20:22 UTC

[maven-compiler-plugin] branch master updated: [MCOMPILER-457] Change showWarnings to true by default

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


The following commit(s) were added to refs/heads/master by this push:
     new ffc14f6  [MCOMPILER-457] Change showWarnings to true by default
ffc14f6 is described below

commit ffc14f66f91d09c498456282814d3c3ad2239fb6
Author: Piotrek Żygieło <pz...@users.noreply.github.com>
AuthorDate: Fri Nov 25 14:25:39 2022 +0100

    [MCOMPILER-457] Change showWarnings to true by default
    
    Co-authored-by: Slawomir Jaranowski <s....@gmail.com>
---
 .../java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
index 99793f8..ea37a4d 100644
--- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
@@ -174,9 +174,9 @@ public abstract class AbstractCompilerMojo
     private boolean optimize;
 
     /**
-     * Set to <code>true</code> to show compilation warnings.
+     * Set to <code>false</code> to disable warnings during compilation.
      */
-    @Parameter( property = "maven.compiler.showWarnings", defaultValue = "false" )
+    @Parameter( property = "maven.compiler.showWarnings", defaultValue = "true" )
     private boolean showWarnings;
 
     /**