You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2007/10/09 23:18:41 UTC
svn commit: r583301 -
/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt
Author: dennisl
Date: Tue Oct 9 14:18:41 2007
New Revision: 583301
URL: http://svn.apache.org/viewvc?rev=583301&view=rev
Log:
[MCOMPILER-57] State default source (1.3) and target (1.1) in the documentation
Submitted by: Gisbert Amm
Reviewed by: Dennis Lundberg
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=583301&r1=583300&r2=583301&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 Tue Oct 9 14:18:41 2007
@@ -27,8 +27,15 @@
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. Other
- compilers can be used and work has already started on AspectJ, .NET, and C#.
+ default compiler is <<<javac>>> and is used to compile Java sources.
+ The default <<<source>>> setting is <<<1.3>>> and the default <<<target>>>
+ setting is <<<1.1>>>, independently of the JDK you run Maven with.
+ If you want to change these defaults, you should set <<<source>>> and <<<target>>>
+ as described in
+ {{{examples/set-compiler-source-and-target.html}Setting the -source and -target of the Java Compiler}}.
+
+ Other compilers than <<<javac>>> can be used and work has already started
+ on AspectJ, .NET, and C#.
This Compiler Plugin is the Maven 2 version of Maven 1.x's Java Plugin.