You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2005/10/15 10:05:58 UTC

svn commit: r321310 - /maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java

Author: brett
Date: Sat Oct 15 01:05:42 2005
New Revision: 321310

URL: http://svn.apache.org/viewcvs?rev=321310&view=rev
Log:
PR: MNG-975
Submitted by: Edwin Punzalan
add verbose option

Modified:
    maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java

Modified: maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java?rev=321310&r1=321309&r2=321310&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java (original)
+++ maven/components/trunk/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java Sat Oct 15 01:05:42 2005
@@ -61,6 +61,13 @@
      * @parameter expression="${maven.compiler.debug}" default-value="true"
      */
     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
@@ -247,6 +254,8 @@
         compilerConfiguration.setSourceLocations( compileSourceRoots );
 
         compilerConfiguration.setDebug( debug );
+        
+        compilerConfiguration.setVerbose( verbose );
 
         compilerConfiguration.setShowWarnings( showWarnings );