You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/11/19 09:47:37 UTC

svn commit: r1411099 - /maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt

Author: olamy
Date: Mon Nov 19 08:47:36 2012
New Revision: 1411099

URL: http://svn.apache.org/viewvc?rev=1411099&view=rev
Log:
fix documentation now if javax.tools is available we use this compiler

Modified:
    maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt

Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt?rev=1411099&r1=1411098&r2=1411099&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt Mon Nov 19 08:47:36 2012
@@ -3,7 +3,7 @@
  ------
  Edwin Punzalan
  ------
- 2006-07-06
+ 2012-11-19
  ------
 
 ~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -28,8 +28,10 @@
 
 Maven Compiler Plugin
 
-  The Compiler Plugin is used to compile the sources of your project.  The
-  default compiler is <<<javac>>> and is used to compile Java sources.
+  The Compiler Plugin is used to compile the sources of your project. Since 3.0, the
+  default compiler is javax.tools.JavaCompiler (if you are using java 1.6) and is used to compile Java sources.
+  If you want to force the plugin using  <<<javac>>>, you must configure the plugin option {{{./compile-mojo.html#forceJavacCompilerUse}<<<forceJavacCompilerUse>>>}}.
+
   Also note that at present the default <<<source>>> setting is <<<1.5>>> and the default <<<target>>>
   setting is <<<1.5>>>, independently of the JDK you run Maven with.
   If you want to change these defaults, you should set <<<source>>> and <<<target>>>