Skip to content

Commit 1e2506f

Browse files
[MCOMPILER-457] Change showWarnings to true by default
Co-authored-by: Slawomir Jaranowski <[email protected]>
1 parent 973e5b0 commit 1e2506f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ public abstract class AbstractCompilerMojo
174174
private boolean optimize;
175175

176176
/**
177-
* Set to <code>true</code> to show compilation warnings.
177+
* Set to <code>false</code> to disable warnings during compilation.
178178
*/
179-
@Parameter( property = "maven.compiler.showWarnings", defaultValue = "false" )
179+
@Parameter( property = "maven.compiler.showWarnings", defaultValue = "true" )
180180
private boolean showWarnings;
181181

182182
/**

0 commit comments

Comments
 (0)