You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/08 15:04:31 UTC
svn commit: r816611 [12/22] - in
/websites/production/maventest/content/plugins/maven-compiler-plugin-latest:
./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/maven/
apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-...
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/dependencies.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/dependencies.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-using-different-jdk.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-using-different-jdk.html (added)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-using-different-jdk.html Tue May 8 13:04:26 2012
@@ -0,0 +1,308 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Maven Compiler plugin - Compiling Sources Using A Different JDK</title>
+ <style type="text/css" media="all">
+ @import url("../css/maven-base.css");
+ @import url("../css/maven-theme.css");
+ @import url("../css/site.css");
+ </style>
+ <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Edwin Punzalan" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+
+<script type="text/javascript">_uacct = "UA-140879-1";
+ urchinTracker();</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://maven.apache.org/" id="bannerLeft">
+
+ <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+
+ </a>
+ <a href="http://maven.apache.org/" id="bannerRight">
+
+ <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+
+ <a href="http://www.apache.org/" class="externalLink">Apache</a>
+ >
+
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+ >
+
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ >
+
+ <a href="../../../../../../../../../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Maven Compiler Plugin</a>
+ </div>
+ <div class="xright">
+
+
+
+
+
+
+
+ Last Published: 2009-12-30
+ | Version: 2.1
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Overview</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">FAQ</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using A Different JDK</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using -source and -target javac Options</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using Memory Allocation Enhancements</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Pass Compiler Arguments</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Non-javac compilerIds</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Maven Projects</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>Compiling Sources Using A Different JDK</h2>
+<p>The <tt>compilerVersion</tt> parameter can be used to specify the version of the compiler that the plugin will use. However, you also need to set <tt>fork</tt> to <tt>true</tt> for this to work. For example:</p>
+<div class="source"><pre><project>
+ [...]
+ <build>
+ [...]
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <verbose>true</verbose>
+ <fork>true</fork>
+ <executable><!-- path-to-javac --></executable>
+ <compilerVersion>1.3</compilerVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+ [...]
+ </build>
+ [...]
+</project></pre>
+</div>
+<p>To avoid hard-coding a filesystem path for the executable, you can use a property. For example:</p>
+<div class="source"><pre> <executable>${JAVA_1_4_HOME}/bin/javac</executable></pre>
+</div>
+<p>Each developer then defines this property in <a href="http://maven.apache.org/ref/current/maven-settings/settings.html" class="externalLink">settings.xml</a>, or sets an environment variable, so that the build remains portable.</p>
+<div class="source"><pre><settings>
+ [...]
+ <profiles>
+ [...]
+ <profile>
+ <id>compiler</id>
+ <properties>
+ <JAVA_1_4_HOME>C:\Program Files\Java\j2sdk1.4.2_09</JAVA_1_4_HOME>
+ </properties>
+ </profile>
+ </profiles>
+ [...]
+ <activeProfiles>
+ <activeProfile>compiler</activeProfile>
+ </activeProfiles>
+</settings></pre>
+</div>
+<p>If you build with a different JDK, you may want to <a href="http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html" class="externalLink"> customize</a> the jar file manifest.</p>
+</div>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2001-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-using-different-jdk.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-using-different-jdk.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-with-memory-enhancements.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-with-memory-enhancements.html (added)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-with-memory-enhancements.html Tue May 8 13:04:26 2012
@@ -0,0 +1,285 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Maven Compiler plugin - Compile Using Memory Allocation Enhancements</title>
+ <style type="text/css" media="all">
+ @import url("../css/maven-base.css");
+ @import url("../css/maven-theme.css");
+ @import url("../css/site.css");
+ </style>
+ <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Edwin Punzalan" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+
+<script type="text/javascript">_uacct = "UA-140879-1";
+ urchinTracker();</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://maven.apache.org/" id="bannerLeft">
+
+ <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+
+ </a>
+ <a href="http://maven.apache.org/" id="bannerRight">
+
+ <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+
+ <a href="http://www.apache.org/" class="externalLink">Apache</a>
+ >
+
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+ >
+
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ >
+
+ <a href="../../../../../../../../../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Maven Compiler Plugin</a>
+ </div>
+ <div class="xright">
+
+
+
+
+
+
+
+ Last Published: 2009-12-30
+ | Version: 2.1
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Overview</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">FAQ</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using A Different JDK</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using -source and -target javac Options</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using Memory Allocation Enhancements</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Pass Compiler Arguments</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Non-javac compilerIds</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Maven Projects</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>Compile Using Memory Allocation Enhancements</h2>
+<p>The Compiler Plugin accepts configurations for <tt>meminitial</tt> and <tt>maxmem</tt>. You can follow the example below to set the initial memory size to 128MB and the maximum memory usage to 512MB:</p>
+<div class="source"><pre><project>
+ [...]
+ <build>
+ [...]
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <fork>true</fork>
+ <meminitial>128m</meminitial>
+ <maxmem>512m</maxmem>
+ </configuration>
+ </plugin>
+ </plugins>
+ [...]
+ </build>
+ [...]
+</project></pre>
+</div>
+</div>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2001-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-with-memory-enhancements.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/compile-with-memory-enhancements.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/pass-compiler-arguments.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/pass-compiler-arguments.html (added)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/pass-compiler-arguments.html Tue May 8 13:04:26 2012
@@ -0,0 +1,306 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Maven Compiler plugin - Pass Compiler Arguments</title>
+ <style type="text/css" media="all">
+ @import url("../css/maven-base.css");
+ @import url("../css/maven-theme.css");
+ @import url("../css/site.css");
+ </style>
+ <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Edwin Punzalan" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+
+<script type="text/javascript">_uacct = "UA-140879-1";
+ urchinTracker();</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://maven.apache.org/" id="bannerLeft">
+
+ <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+
+ </a>
+ <a href="http://maven.apache.org/" id="bannerRight">
+
+ <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+
+ <a href="http://www.apache.org/" class="externalLink">Apache</a>
+ >
+
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+ >
+
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ >
+
+ <a href="../../../../../../../../../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Maven Compiler Plugin</a>
+ </div>
+ <div class="xright">
+
+
+
+
+
+
+
+ Last Published: 2009-12-30
+ | Version: 2.1
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Overview</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">FAQ</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using A Different JDK</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using -source and -target javac Options</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using Memory Allocation Enhancements</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Pass Compiler Arguments</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Non-javac compilerIds</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Maven Projects</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>Pass Compiler Arguments</h2>
+<p>Sometimes, you need to pass other compiler arguments that are not handled by the Compiler Plugin itself but is supported by the <tt>compilerId</tt> selected. For such arguments, the Compiler Plugin's <tt>compilerArguments</tt> will be used. The following example passes compiler arguments to the <tt>javac</tt> compiler:</p>
+<div class="source"><pre><project>
+ [...]
+ <build>
+ [...]
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <compilerArgument>-verbose -bootclasspath ${java.home}\lib\rt.jar</compilerArgument>
+ </configuration>
+ </plugin>
+ </plugins>
+ [...]
+ </build>
+ [...]
+</project></pre>
+</div>
+<p>Or you can also use the Map version:</p>
+<div class="source"><pre><project>
+ [...]
+ <build>
+ [...]
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <compilerArguments>
+ <verbose />
+ <bootclasspath>${java.home}\lib\rt.jar</bootclasspath>
+ </compilerArguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ [...]
+ </build>
+ [...]
+</project></pre>
+</div>
+</div>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2001-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/pass-compiler-arguments.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/pass-compiler-arguments.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/set-compiler-source-and-target.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/set-compiler-source-and-target.html (added)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/set-compiler-source-and-target.html Tue May 8 13:04:26 2012
@@ -0,0 +1,285 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Maven Compiler plugin - Setting the -source and -target of the Java Compiler</title>
+ <style type="text/css" media="all">
+ @import url("../css/maven-base.css");
+ @import url("../css/maven-theme.css");
+ @import url("../css/site.css");
+ </style>
+ <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Edwin Punzalan" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+
+<script type="text/javascript">_uacct = "UA-140879-1";
+ urchinTracker();</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://maven.apache.org/" id="bannerLeft">
+
+ <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+
+ </a>
+ <a href="http://maven.apache.org/" id="bannerRight">
+
+ <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+
+ <a href="http://www.apache.org/" class="externalLink">Apache</a>
+ >
+
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+ >
+
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ >
+
+ <a href="../../../../../../../../../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Maven Compiler Plugin</a>
+ </div>
+ <div class="xright">
+
+
+
+
+
+
+
+ Last Published: 2009-12-30
+ | Version: 2.1
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Overview</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">FAQ</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using A Different JDK</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using -source and -target javac Options</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using Memory Allocation Enhancements</a>
+ </li>
+
+ <li class="none">
+ <a href="../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Pass Compiler Arguments</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Non-javac compilerIds</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+ <li class="collapsed">
+ <a href="../project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Maven Projects</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>Setting the <tt>-source</tt> and <tt>-target</tt> of the Java Compiler</h2>
+<p>Sometimes when you may need to compile a certain project to a different version than what you are currently using. The <tt>javac</tt> can accept such command using <tt>-source</tt> and <tt>-target</tt>. The Compiler Plugin can also be configured to provide these options during compilation.</p>
+<p>For example, if you want to enable assertions (-source 1.4) and also want the compiled classes to be compatible with JVM 1.4 (-target 1.4), you can then put:</p>
+<div class="source"><pre><project>
+ [...]
+ <build>
+ [...]
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ [...]
+ </build>
+ [...]
+</project></pre>
+</div>
+</div>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2001-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/set-compiler-source-and-target.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/examples/set-compiler-source-and-target.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/faq.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/faq.html (added)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/faq.html Tue May 8 13:04:26 2012
@@ -0,0 +1,289 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Maven Compiler plugin - Frequently Asked Questions</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+
+<script type="text/javascript">_uacct = "UA-140879-1";
+ urchinTracker();</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://maven.apache.org/" id="bannerLeft">
+
+ <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+
+ </a>
+ <a href="http://maven.apache.org/" id="bannerRight">
+
+ <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+
+ <a href="http://www.apache.org/" class="externalLink">Apache</a>
+ >
+
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+ >
+
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ >
+
+ <a href="../../../../../../../../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Maven Compiler Plugin</a>
+ </div>
+ <div class="xright">
+
+
+
+
+
+
+
+ Last Published: 2009-12-30
+ | Version: 2.1
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Overview</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">FAQ</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using A Different JDK</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using -source and -target javac Options</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using Memory Allocation Enhancements</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Pass Compiler Arguments</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Non-javac compilerIds</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Maven Projects</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2><a name="top">Frequently Asked Questions</a></h2>
+<ol type="1"><li><a href="#compile-error-reports">Is there a way to get Maven to report the number of compile errors found?</a></li>
+<li><a href="#how-to-add-generated-sources">How do I add my generated sources to the compile path of Maven, when using modello?</a></li>
+</ol>
+</div>
+<dl><dt><a name="compile-error-reports">Is there a way to get Maven to report the number of compile errors found?</a></dt>
+<dd>
+ <p>
+ Currently, this type of summary information is not built into the compiler plugin, but it
+ would be possible to add. If this feature is important to you, add your vote to
+ <a href="http://jira.codehaus.org/browse/MNG-1854">MNG-1854</a>
+ .
+ </p>
+ <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table><hr />
+</dd>
+<dt><a name="how-to-add-generated-sources">How do I add my generated sources to the compile path of Maven, when using modello?</a></dt>
+<dd>
+ <p>Modello generate the sources in the generate-sources phase and automatically adds the
+ source directory for compilation in maven. So you don't have to copy the generated sources.
+ </p>
+ <p>You have to declare the modello-plugin in the build of your plugin for source generation
+ (in that way the sources are generated each time).
+ </p>
+ <p>The Modello website can be found
+ <a href="http://modello.codehaus.org/">here</a>
+ .
+ </p>
+ <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table></dd>
+</dl>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2001-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/faq.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/faq.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/help-mojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/help-mojo.html (added)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/help-mojo.html Tue May 8 13:04:26 2012
@@ -0,0 +1,358 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Maven Compiler plugin - compiler:help</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+
+<script type="text/javascript">_uacct = "UA-140879-1";
+ urchinTracker();</script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://maven.apache.org/" id="bannerLeft">
+
+ <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+
+ </a>
+ <a href="http://maven.apache.org/" id="bannerRight">
+
+ <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+
+ <div class="xleft">
+
+ <a href="http://www.apache.org/" class="externalLink">Apache</a>
+ >
+
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+ >
+
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ >
+
+ <a href="../../../../../../../../../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Maven Compiler Plugin</a>
+ </div>
+ <div class="xright">
+
+
+
+
+
+
+
+ Last Published: 2009-12-30
+ | Version: 2.1
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+
+ <h5>Overview</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">FAQ</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using A Different JDK</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using -source and -target javac Options</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Compile Using Memory Allocation Enhancements</a>
+ </li>
+
+ <li class="none">
+ <a href="../../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Pass Compiler Arguments</a>
+ </li>
+
+ <li class="none">
+ <a href="../home/user/src/maven-compiler-plugin/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Non-javac compilerIds</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Maven Projects</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+ </li>
+
+ <li class="none">
+ <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2><a name="compiler:help"></a>compiler:help</h2>
+<p><strong>Full name</strong>:</p>
+<p>org.apache.maven.plugins:maven-compiler-plugin:2.1:help</p>
+<p><strong>Description</strong>:</p>
+<div>Display help information on maven-compiler-plugin.<br />
+
+ Call
+
+<pre>
+ mvn compiler:help -Ddetail=true -Dgoal=<goal-name>
+</pre>
+
+to display parameter details.</div><p><strong>Attributes</strong>:</p>
+<div class="section"><h3><a name="Optional_Parameters"></a>Optional Parameters</h3>
+<table class="bodyTable"><tr class="a"><th>Name</th>
+<th>Type</th>
+<th>Since</th>
+<th>Description</th>
+</tr>
+<tr class="b"><td><strong><a href="#detail">detail</a></strong></td>
+<td><code>boolean</code></td>
+<td><code>-</code></td>
+<td>If <code>true</code>, display all settable properties for each
+goal.<br />
+<strong>Default value is</strong>: <code>false</code>.</td>
+</tr>
+<tr class="a"><td><strong><a href="#goal">goal</a></strong></td>
+<td><code>String</code></td>
+<td><code>-</code></td>
+<td>The name of the goal for which to show help. If unspecified, all
+goals will be displayed.<br />
+</td>
+</tr>
+<tr class="b"><td><strong><a href="#indentSize">indentSize</a></strong></td>
+<td><code>int</code></td>
+<td><code>-</code></td>
+<td>The number of spaces per indentation level, should be positive.<br />
+<strong>Default value is</strong>: <code>2</code>.</td>
+</tr>
+<tr class="a"><td><strong><a href="#lineLength">lineLength</a></strong></td>
+<td><code>int</code></td>
+<td><code>-</code></td>
+<td>The maximum length of a display line, should be positive.<br />
+<strong>Default value is</strong>: <code>80</code>.</td>
+</tr>
+</table>
+</div>
+<div class="section"><h3><a name="Parameter_Details"></a>Parameter Details</h3>
+<p><strong><a name="detail">detail</a>:</strong></p>
+<div>If <code>true</code>, display all settable properties for each
+goal.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
+<li><strong>Required</strong>: <code>No</code></li>
+<li><strong>Expression</strong>: <code>${detail}</code></li>
+<li><strong>Default</strong>: <code>false</code></li>
+</ul>
+<hr />
+<p><strong><a name="goal">goal</a>:</strong></p>
+<div>The name of the goal for which to show help. If unspecified, all
+goals will be displayed.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
+<li><strong>Required</strong>: <code>No</code></li>
+<li><strong>Expression</strong>: <code>${goal}</code></li>
+</ul>
+<hr />
+<p><strong><a name="indentSize">indentSize</a>:</strong></p>
+<div>The number of spaces per indentation level, should be positive.</div><ul><li><strong>Type</strong>: <code>int</code></li>
+<li><strong>Required</strong>: <code>No</code></li>
+<li><strong>Expression</strong>: <code>${indentSize}</code></li>
+<li><strong>Default</strong>: <code>2</code></li>
+</ul>
+<hr />
+<p><strong><a name="lineLength">lineLength</a>:</strong></p>
+<div>The maximum length of a display line, should be positive.</div><ul><li><strong>Type</strong>: <code>int</code></li>
+<li><strong>Required</strong>: <code>No</code></li>
+<li><strong>Expression</strong>: <code>${lineLength}</code></li>
+<li><strong>Default</strong>: <code>80</code></li>
+</ul>
+</div>
+</div>
+
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2001-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/help-mojo.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/help-mojo.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/apache-maven-project-2.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/apache-maven-project-2.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/banner.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/banner.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/bg.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/bg.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/breadcrumbs.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/breadcrumbs.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/close.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/close.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/collapsed.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/collapsed.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/expanded.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/expanded.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/external.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/external.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/h3.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/h3.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/h5.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/h5.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_error_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_error_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_info_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_info_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_success_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_success_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_warning_sml.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/icon_warning_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logo_apache.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logo_apache.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logo_maven.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logo_maven.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logos/build-by-maven-black.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logos/build-by-maven-black.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logos/build-by-maven-white.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logos/build-by-maven-white.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logos/maven-feather.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/logos/maven-feather.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/maven-logo-2.gif
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/maven-logo-2.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/newwindow.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/newwindow.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/rss.png
==============================================================================
Binary file - no diff available.
Propchange: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/images/rss.png
------------------------------------------------------------------------------
svn:mime-type = image/png