mirror of https://github.com/apache/maven.git
PR: MNG-975
Submitted by: Edwin Punzalan add verbose option git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321310 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc6092fca1
commit
fbe2d4ff4f
|
@ -61,6 +61,13 @@ public abstract class AbstractCompilerMojo
|
||||||
* @parameter expression="${maven.compiler.debug}" default-value="true"
|
* @parameter expression="${maven.compiler.debug}" default-value="true"
|
||||||
*/
|
*/
|
||||||
private boolean debug;
|
private boolean debug;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether to output messages about what the compiler is doing
|
||||||
|
*
|
||||||
|
* @parameter default-value="false"
|
||||||
|
*/
|
||||||
|
private boolean verbose;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Output source locations where deprecated APIs are used
|
* Output source locations where deprecated APIs are used
|
||||||
|
@ -247,6 +254,8 @@ public abstract class AbstractCompilerMojo
|
||||||
compilerConfiguration.setSourceLocations( compileSourceRoots );
|
compilerConfiguration.setSourceLocations( compileSourceRoots );
|
||||||
|
|
||||||
compilerConfiguration.setDebug( debug );
|
compilerConfiguration.setDebug( debug );
|
||||||
|
|
||||||
|
compilerConfiguration.setVerbose( verbose );
|
||||||
|
|
||||||
compilerConfiguration.setShowWarnings( showWarnings );
|
compilerConfiguration.setShowWarnings( showWarnings );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue