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:
Brett Leslie Porter 2005-10-15 08:05:42 +00:00
parent cc6092fca1
commit fbe2d4ff4f
1 changed files with 9 additions and 0 deletions

View File

@ -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 );