maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r842110 [7/7] - in /websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT: ./ css/ examples/ images/ images/logos/
Date Thu, 13 Dec 2012 12:51:21 GMT
Added: websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/testCompile-mojo.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/testCompile-mojo.html (added)
+++ websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/testCompile-mojo.html Thu Dec 13 12:51:13 2012
@@ -0,0 +1,820 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ | Generated by Apache Maven Doxia at Dec 13, 2012
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven Compiler plugin - 
+    compiler:testCompile</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="Date-Revision-yyyymmdd" content="20121213" />
+    <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="../../" id="bannerLeft">
+                                                <img src="../../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../../index.html">Maven</a>
+        &gt;
+                  <a href="../index.html">Plugins</a>
+        &gt;
+                      <a href="./">Maven Compiler plugin</a>
+        &gt;
+        
+    compiler:testCompile
+        </div>
+            <div class="xright">        
+                                    Last Published: 2012-12-13
+              &nbsp;| Version: 3.1-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="index.html">Introduction</a>
+            </li>
+                  <li class="none">
+                  <a href="plugin-info.html">Goals</a>
+            </li>
+                  <li class="none">
+                  <a href="usage.html">Usage</a>
+            </li>
+                  <li class="none">
+                  <a href="faq.html">FAQ</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="examples/compile-using-different-jdk.html">Compile Using A Different JDK</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/set-compiler-source-and-target.html">Compile Using -source and -target javac Options</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/compile-with-memory-enhancements.html">Compile Using Memory Allocation Enhancements</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/pass-compiler-arguments.html">Pass Compiler Arguments</a>
+            </li>
+                  <li class="none">
+                  <a href="non-javac-compilers.html">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="../../ant-tasks/index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</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"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        
+  
+    <div class="section"><h2>compiler:testCompile<a name="compiler:testCompile"></a></h2>
+      <p><b>Full name</b>:</p>
+      <p>org.apache.maven.plugins:maven-compiler-plugin:3.1-SNAPSHOT:testCompile</p>
+      <p><b>Description</b>:</p>
+      <div>Compiles application test sources.</div>
+      <p><b>Attributes</b>:</p>
+      <ul>
+        <li>Requires a Maven project to be executed.</li>
+        <li>Requires dependency resolution of artifacts in scope: <tt>test</tt>.</li>
+        <li>The goal is thread-safe and supports parallel builds.</li>
+        <li>Since version: <tt>2.0</tt>.</li>
+        <li>Binds by default to the <a class="externalLink" href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">lifecycle phase</a>: <tt>test-compile</tt>.</li>
+      </ul>
+      <div class="section"><h3>Optional Parameters<a name="Optional_Parameters"></a></h3>
+        <table class="bodyTable" border="0">
+          <tr class="a">
+            <th>Name</th>
+            <th>Type</th>
+            <th>Since</th>
+            <th>Description</th>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#annotationProcessors">annotationProcessors</a></b></td>
+            <td><tt>String[]</tt></td>
+            <td><tt>2.2</tt></td>
+            <td><p>Names of annotation processors to run. Only applies to JDK 1.6+
+If not set, the default annotation processors discovery process
+applies.</p><br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#compilerArgument">compilerArgument</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td><p>Sets the unformatted single argument string to be passed to the
+compiler if <tt>fork</tt> is set to <tt>true</tt>. To pass
+multiple arguments such as <tt>-Xmaxerrs 1000</tt> (which are
+actually two arguments) you have to use
+<tt>compilerArguments</tt>.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p><br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#compilerArguments">compilerArguments</a></b></td>
+            <td><tt>Map</tt></td>
+            <td><tt>2.0.1</tt></td>
+            <td><p>Sets the arguments to be passed to the compiler (prepending a
+dash) if <tt>fork</tt> is set to <tt>true</tt>.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p>
+<p>To pass <tt>-Xmaxerrs 1000 -Xlint -Xlint:-path
+-Averbose=true</tt> you should include the following:</p>
+<div><pre>
+&lt;compilerArguments&gt;
+  &lt;Xmaxerrs&gt;1000&lt;/Xmaxerrs&gt;
+  &lt;Xlint/&gt;
+  &lt;Xlint:-path/&gt;
+  &lt;Averbose&gt;true&lt;/Averbose&gt;
+&lt;/compilerArguments&gt;
+</pre></div><br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#compilerId">compilerId</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The compiler id of the compiler to use. See this <a href="non-javac-compilers.html">guide</a> for more information.<br /><b>Default value is</b>: <tt>javac</tt>.<br /><b>User property is</b>: <tt>maven.compiler.compilerId</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#compilerReuseStrategy">compilerReuseStrategy</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.5</tt></td>
+            <td>Strategy to re use javacc class created: 
+<ul>
+<li><tt>reuseCreated</tt> (default): will reuse already created
+but in case of multi-threaded builds, each thread will have its own
+instance</li>
+<li><tt>reuseSame</tt>: the same Javacc class will be used for
+each compilation even for multi-threaded build</li>
+<li><tt>alwaysNew</tt>: a new Javacc class will be created for
+each compilation</li>
+</ul>
+Note this parameter value depends on the os/jdk you are using, but
+the default value should work on most of env.<br /><b>Default value is</b>: <tt>${reuseCreated}</tt>.<br /><b>User property is</b>: <tt>maven.compiler.compilerReuseStrategy</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#compilerVersion">compilerVersion</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Version of the compiler to use, ex. &quot;1.3&quot;, &quot;1.5&quot;, if
+<tt>fork</tt> is set to <tt>true</tt>.<br /><b>User property is</b>: <tt>maven.compiler.compilerVersion</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#debug">debug</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Set to <tt>true</tt> to include debugging information in the
+compiled class files.<br /><b>Default value is</b>: <tt>true</tt>.<br /><b>User property is</b>: <tt>maven.compiler.debug</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#debuglevel">debuglevel</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.1</tt></td>
+            <td>Keyword list to be appended to the <tt>-g</tt> command-line
+switch. Legal values are none or a comma-separated list of the
+following keywords: <tt>lines</tt>, <tt>vars</tt>, and
+<tt>source</tt>. If debug level is not specified, by default,
+nothing will be appended to <tt>-g</tt>. If debug is not turned
+on, this attribute will be ignored.<br /><b>User property is</b>: <tt>maven.compiler.debuglevel</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#encoding">encoding</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.1</tt></td>
+            <td>The -encoding argument for the Java compiler.<br /><b>Default value is</b>: <tt>${project.build.sourceEncoding}</tt>.<br /><b>User property is</b>: <tt>encoding</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#executable">executable</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Sets the executable of the compiler to use when <tt>fork</tt>
+is <tt>true</tt>.<br /><b>User property is</b>: <tt>maven.compiler.executable</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#failOnError">failOnError</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0.2</tt></td>
+            <td>Indicates whether the build will continue even if there are
+compilation errors.<br /><b>Default value is</b>: <tt>true</tt>.<br /><b>User property is</b>: <tt>maven.compiler.failOnError</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#fileExtensions">fileExtensions</a></b></td>
+            <td><tt>List</tt></td>
+            <td><tt>3.1</tt></td>
+            <td>file extensions to check timestamp for incremental build <b>default
+contains only <tt>.class</tt></b><br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#forceJavacCompilerUse">forceJavacCompilerUse</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.6</tt></td>
+            <td>compiler can now use javax.tools if available in your current jdk,
+you can disable this feature using
+-Dmaven.compiler.forceJavacCompilerUse=true or in the plugin
+configuration<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.compiler.forceJavacCompilerUse</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#fork">fork</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Allows running the compiler in a separate process. If
+<tt>false</tt> it uses the built in compiler, while if
+<tt>true</tt> it will use an executable.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.compiler.fork</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#generatedTestSourcesDirectory">generatedTestSourcesDirectory</a></b></td>
+            <td><tt>File</tt></td>
+            <td><tt>2.2</tt></td>
+            <td><p>Specify where to place generated source files created by
+annotation processing. Only applies to JDK 1.6+</p><br /><b>Default value is</b>: <tt>${project.build.directory}/generated-test-sources/test-annotations</tt>.<br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#maxmem">maxmem</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0.1</tt></td>
+            <td>Sets the maximum size, in megabytes, of the memory allocation pool,
+ex. &quot;128&quot;, &quot;128m&quot; if <tt>fork</tt> is set to <tt>true</tt>.<br /><b>User property is</b>: <tt>maven.compiler.maxmem</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#meminitial">meminitial</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0.1</tt></td>
+            <td>Initial size, in megabytes, of the memory allocation pool, ex.
+&quot;64&quot;, &quot;64m&quot; if <tt>fork</tt> is set to <tt>true</tt>.<br /><b>User property is</b>: <tt>maven.compiler.meminitial</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#mojoExecution">mojoExecution</a></b></td>
+            <td><tt>MojoExecution</tt></td>
+            <td><tt>2.6 needed for storing the status for the incremental build support.</tt></td>
+            <td>(no description)<br /><b>User property is</b>: <tt>mojoExecution</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#optimize">optimize</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Set to <tt>true</tt> to optimize the compiled code using the
+compiler's optimization methods.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.compiler.optimize</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#outputFileName">outputFileName</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Sets the name of the output file when compiling a set of sources to
+a single file. expression=&quot;${project.build.finalName}&quot;<br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#proc">proc</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.2</tt></td>
+            <td><p>Sets whether annotation processing is performed or not. Only
+applies to JDK 1.6+ If not set, both compilation and annotation
+processing are performed at the same time.</p>
+<p>Allowed values are:</p>
+<ul>
+<li><tt>none</tt> - no annotation processing is performed.</li>
+<li><tt>only</tt> - only annotation processing is done, no
+compilation.</li>
+</ul><br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#showDeprecation">showDeprecation</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Sets whether to show source locations where deprecated APIs are
+used.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.compiler.showDeprecation</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#showWarnings">showWarnings</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Set to <tt>true</tt> to show compilation warnings.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.compiler.showWarnings</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#skip">skip</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Set this to 'true' to bypass compilation of test sources. Its use
+is NOT RECOMMENDED, but quite convenient on occasion.<br /><b>User property is</b>: <tt>maven.test.skip</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#skipMultiThreadWarning">skipMultiThreadWarning</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.5</tt></td>
+            <td>(no description)<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.compiler.skipMultiThreadWarning</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#source">source</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The -source argument for the Java compiler.<br /><b>Default value is</b>: <tt>1.5</tt>.<br /><b>User property is</b>: <tt>maven.compiler.source</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#staleMillis">staleMillis</a></b></td>
+            <td><tt>int</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Sets the granularity in milliseconds of the last modification date
+for testing whether a source needs recompilation.<br /><b>Default value is</b>: <tt>0</tt>.<br /><b>User property is</b>: <tt>lastModGranularityMs</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#target">target</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The -target argument for the Java compiler.<br /><b>Default value is</b>: <tt>1.5</tt>.<br /><b>User property is</b>: <tt>maven.compiler.target</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#testCompilerArgument">testCompilerArgument</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.1</tt></td>
+            <td><p>Sets the unformatted argument string to be passed to test
+compiler if fork is set to true.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p><br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#testCompilerArguments">testCompilerArguments</a></b></td>
+            <td><tt>Map</tt></td>
+            <td><tt>2.1</tt></td>
+            <td><p>Sets the arguments to be passed to test compiler (prepending a
+dash) if fork is set to true.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p><br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#testExcludes">testExcludes</a></b></td>
+            <td><tt>Set</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>A list of exclusion filters for the compiler.<br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#testIncludes">testIncludes</a></b></td>
+            <td><tt>Set</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>A list of inclusion filters for the compiler.<br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#testSource">testSource</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.1</tt></td>
+            <td>The -source argument for the test Java compiler.<br /><b>User property is</b>: <tt>maven.compiler.testSource</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#testTarget">testTarget</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.1</tt></td>
+            <td>The -target argument for the test Java compiler.<br /><b>User property is</b>: <tt>maven.compiler.testTarget</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#verbose">verbose</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Set to <tt>true</tt> to show messages about what the compiler
+is doing.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.compiler.verbose</tt>.</td>
+          </tr>
+        </table>
+      </div>
+      <div class="section"><h3>Parameter Details<a name="Parameter_Details"></a></h3>
+        <p><b><a name="annotationProcessors">annotationProcessors</a>:</b></p>
+        <div><p>Names of annotation processors to run. Only applies to JDK 1.6+
+If not set, the default annotation processors discovery process
+applies.</p></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String[]</tt></li>
+          <li><b>Since</b>: <tt>2.2</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="compilerArgument">compilerArgument</a>:</b></p>
+        <div><p>Sets the unformatted single argument string to be passed to the
+compiler if <tt>fork</tt> is set to <tt>true</tt>. To pass
+multiple arguments such as <tt>-Xmaxerrs 1000</tt> (which are
+actually two arguments) you have to use
+<tt>compilerArguments</tt>.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="compilerArguments">compilerArguments</a>:</b></p>
+        <div><p>Sets the arguments to be passed to the compiler (prepending a
+dash) if <tt>fork</tt> is set to <tt>true</tt>.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p>
+<p>To pass <tt>-Xmaxerrs 1000 -Xlint -Xlint:-path
+-Averbose=true</tt> you should include the following:</p>
+<div><pre>
+&lt;compilerArguments&gt;
+  &lt;Xmaxerrs&gt;1000&lt;/Xmaxerrs&gt;
+  &lt;Xlint/&gt;
+  &lt;Xlint:-path/&gt;
+  &lt;Averbose&gt;true&lt;/Averbose&gt;
+&lt;/compilerArguments&gt;
+</pre></div></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.util.Map</tt></li>
+          <li><b>Since</b>: <tt>2.0.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="compilerId">compilerId</a>:</b></p>
+        <div>The compiler id of the compiler to use. See this <a href="non-javac-compilers.html">guide</a> for more information.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.compilerId</tt></li>
+          <li><b>Default</b>: <tt>javac</tt></li>
+        </ul><hr /><p><b><a name="compilerReuseStrategy">compilerReuseStrategy</a>:</b></p>
+        <div>Strategy to re use javacc class created: 
+<ul>
+<li><tt>reuseCreated</tt> (default): will reuse already created
+but in case of multi-threaded builds, each thread will have its own
+instance</li>
+<li><tt>reuseSame</tt>: the same Javacc class will be used for
+each compilation even for multi-threaded build</li>
+<li><tt>alwaysNew</tt>: a new Javacc class will be created for
+each compilation</li>
+</ul>
+Note this parameter value depends on the os/jdk you are using, but
+the default value should work on most of env.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.5</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.compilerReuseStrategy</tt></li>
+          <li><b>Default</b>: <tt>${reuseCreated}</tt></li>
+        </ul><hr /><p><b><a name="compilerVersion">compilerVersion</a>:</b></p>
+        <div>Version of the compiler to use, ex. &quot;1.3&quot;, &quot;1.5&quot;, if
+<tt>fork</tt> is set to <tt>true</tt>.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.compilerVersion</tt></li>
+        </ul><hr /><p><b><a name="debug">debug</a>:</b></p>
+        <div>Set to <tt>true</tt> to include debugging information in the
+compiled class files.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.debug</tt></li>
+          <li><b>Default</b>: <tt>true</tt></li>
+        </ul><hr /><p><b><a name="debuglevel">debuglevel</a>:</b></p>
+        <div>Keyword list to be appended to the <tt>-g</tt> command-line
+switch. Legal values are none or a comma-separated list of the
+following keywords: <tt>lines</tt>, <tt>vars</tt>, and
+<tt>source</tt>. If debug level is not specified, by default,
+nothing will be appended to <tt>-g</tt>. If debug is not turned
+on, this attribute will be ignored.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.debuglevel</tt></li>
+        </ul><hr /><p><b><a name="encoding">encoding</a>:</b></p>
+        <div>The -encoding argument for the Java compiler.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>encoding</tt></li>
+          <li><b>Default</b>: <tt>${project.build.sourceEncoding}</tt></li>
+        </ul><hr /><p><b><a name="executable">executable</a>:</b></p>
+        <div>Sets the executable of the compiler to use when <tt>fork</tt>
+is <tt>true</tt>.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.executable</tt></li>
+        </ul><hr /><p><b><a name="failOnError">failOnError</a>:</b></p>
+        <div>Indicates whether the build will continue even if there are
+compilation errors.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0.2</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.failOnError</tt></li>
+          <li><b>Default</b>: <tt>true</tt></li>
+        </ul><hr /><p><b><a name="fileExtensions">fileExtensions</a>:</b></p>
+        <div>file extensions to check timestamp for incremental build <b>default
+contains only <tt>.class</tt></b></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.util.List</tt></li>
+          <li><b>Since</b>: <tt>3.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="forceJavacCompilerUse">forceJavacCompilerUse</a>:</b></p>
+        <div>compiler can now use javax.tools if available in your current jdk,
+you can disable this feature using
+-Dmaven.compiler.forceJavacCompilerUse=true or in the plugin
+configuration</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.6</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.forceJavacCompilerUse</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="fork">fork</a>:</b></p>
+        <div>Allows running the compiler in a separate process. If
+<tt>false</tt> it uses the built in compiler, while if
+<tt>true</tt> it will use an executable.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.fork</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="generatedTestSourcesDirectory">generatedTestSourcesDirectory</a>:</b></p>
+        <div><p>Specify where to place generated source files created by
+annotation processing. Only applies to JDK 1.6+</p></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.io.File</tt></li>
+          <li><b>Since</b>: <tt>2.2</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Default</b>: <tt>${project.build.directory}/generated-test-sources/test-annotations</tt></li>
+        </ul><hr /><p><b><a name="maxmem">maxmem</a>:</b></p>
+        <div>Sets the maximum size, in megabytes, of the memory allocation pool,
+ex. &quot;128&quot;, &quot;128m&quot; if <tt>fork</tt> is set to <tt>true</tt>.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.maxmem</tt></li>
+        </ul><hr /><p><b><a name="meminitial">meminitial</a>:</b></p>
+        <div>Initial size, in megabytes, of the memory allocation pool, ex.
+&quot;64&quot;, &quot;64m&quot; if <tt>fork</tt> is set to <tt>true</tt>.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.meminitial</tt></li>
+        </ul><hr /><p><b><a name="mojoExecution">mojoExecution</a>:</b></p>
+        <div>(no description)</div>
+        <ul>
+          <li><b>Type</b>: <tt>org.apache.maven.plugin.MojoExecution</tt></li>
+          <li><b>Since</b>: <tt>2.6 needed for storing the status for the incremental build support.</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>mojoExecution</tt></li>
+        </ul><hr /><p><b><a name="optimize">optimize</a>:</b></p>
+        <div>Set to <tt>true</tt> to optimize the compiled code using the
+compiler's optimization methods.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.optimize</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="outputFileName">outputFileName</a>:</b></p>
+        <div>Sets the name of the output file when compiling a set of sources to
+a single file. expression=&quot;${project.build.finalName}&quot;</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="proc">proc</a>:</b></p>
+        <div><p>Sets whether annotation processing is performed or not. Only
+applies to JDK 1.6+ If not set, both compilation and annotation
+processing are performed at the same time.</p>
+<p>Allowed values are:</p>
+<ul>
+<li><tt>none</tt> - no annotation processing is performed.</li>
+<li><tt>only</tt> - only annotation processing is done, no
+compilation.</li>
+</ul></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.2</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="showDeprecation">showDeprecation</a>:</b></p>
+        <div>Sets whether to show source locations where deprecated APIs are
+used.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.showDeprecation</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="showWarnings">showWarnings</a>:</b></p>
+        <div>Set to <tt>true</tt> to show compilation warnings.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.showWarnings</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="skip">skip</a>:</b></p>
+        <div>Set this to 'true' to bypass compilation of test sources. Its use
+is NOT RECOMMENDED, but quite convenient on occasion.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.test.skip</tt></li>
+        </ul><hr /><p><b><a name="skipMultiThreadWarning">skipMultiThreadWarning</a>:</b></p>
+        <div>(no description)</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.5</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.skipMultiThreadWarning</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="source">source</a>:</b></p>
+        <div>The -source argument for the Java compiler.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.source</tt></li>
+          <li><b>Default</b>: <tt>1.5</tt></li>
+        </ul><hr /><p><b><a name="staleMillis">staleMillis</a>:</b></p>
+        <div>Sets the granularity in milliseconds of the last modification date
+for testing whether a source needs recompilation.</div>
+        <ul>
+          <li><b>Type</b>: <tt>int</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>lastModGranularityMs</tt></li>
+          <li><b>Default</b>: <tt>0</tt></li>
+        </ul><hr /><p><b><a name="target">target</a>:</b></p>
+        <div>The -target argument for the Java compiler.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.target</tt></li>
+          <li><b>Default</b>: <tt>1.5</tt></li>
+        </ul><hr /><p><b><a name="testCompilerArgument">testCompilerArgument</a>:</b></p>
+        <div><p>Sets the unformatted argument string to be passed to test
+compiler if fork is set to true.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="testCompilerArguments">testCompilerArguments</a>:</b></p>
+        <div><p>Sets the arguments to be passed to test compiler (prepending a
+dash) if fork is set to true.</p>
+<p>This is because the list of valid arguments passed to a Java
+compiler varies based on the compiler version.</p></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.util.Map</tt></li>
+          <li><b>Since</b>: <tt>2.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="testExcludes">testExcludes</a>:</b></p>
+        <div>A list of exclusion filters for the compiler.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.util.Set</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="testIncludes">testIncludes</a>:</b></p>
+        <div>A list of inclusion filters for the compiler.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.util.Set</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="testSource">testSource</a>:</b></p>
+        <div>The -source argument for the test Java compiler.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.testSource</tt></li>
+        </ul><hr /><p><b><a name="testTarget">testTarget</a>:</b></p>
+        <div>The -target argument for the test Java compiler.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.testTarget</tt></li>
+        </ul><hr /><p><b><a name="verbose">verbose</a>:</b></p>
+        <div>Set to <tt>true</tt> to show messages about what the compiler
+is doing.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>User Property</b>: <tt>maven.compiler.verbose</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul>
+      </div>
+    </div>
+  
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2001-2012
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/testCompile-mojo.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/testCompile-mojo.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/usage.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/usage.html (added)
+++ websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/usage.html Thu Dec 13 12:51:13 2012
@@ -0,0 +1,207 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ | Generated by Apache Maven Doxia at Dec 13, 2012
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven Compiler plugin - Usage</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 name="Date-Creation-yyyymmdd" content="20060705" />
+    <meta name="Date-Revision-yyyymmdd" content="20121213" />
+    <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="../../" id="bannerLeft">
+                                                <img src="../../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../../index.html">Maven</a>
+        &gt;
+                  <a href="../index.html">Plugins</a>
+        &gt;
+                      <a href="./">Maven Compiler plugin</a>
+        &gt;
+        Usage
+        </div>
+            <div class="xright">        
+                                    Last Published: 2012-12-13
+              &nbsp;| Version: 3.1-SNAPSHOT
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Overview</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="index.html">Introduction</a>
+            </li>
+                  <li class="none">
+                  <a href="plugin-info.html">Goals</a>
+            </li>
+                  <li class="none">
+            <strong>Usage</strong>
+          </li>
+                  <li class="none">
+                  <a href="faq.html">FAQ</a>
+            </li>
+          </ul>
+                       <h5>Examples</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="examples/compile-using-different-jdk.html">Compile Using A Different JDK</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/set-compiler-source-and-target.html">Compile Using -source and -target javac Options</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/compile-with-memory-enhancements.html">Compile Using Memory Allocation Enhancements</a>
+            </li>
+                  <li class="none">
+                  <a href="examples/pass-compiler-arguments.html">Pass Compiler Arguments</a>
+            </li>
+                  <li class="none">
+                  <a href="non-javac-compilers.html">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="../../ant-tasks/index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</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"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements.  See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership.  The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License.  You may obtain a copy of the License at --><!--  --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!--  --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied.  See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/referen
 ces/apt-format.html --><div class="section"><h2>Usage<a name="Usage"></a></h2><div class="section"><h3>Compiling Your Java Sources<a name="Compiling_Your_Java_Sources"></a></h3><p>The goals for the Compiler Plugin are bound to their respective phases in the build lifecycle. So to compile your sources, you need only to tell maven until which lifecycle to execute. The following will compile your sources:</p><div class="source"><pre>mvn compile</pre></div><p>To compile your test sources, you'll do:</p><div class="source"><pre>mvn test-compile</pre></div><p>The above command will execute both <tt>compiler:compile</tt> and <tt>compiler:testCompile</tt> since the <tt>compile</tt> phase happens a few phases before the <tt>test-compile</tt> phase.</p></div><div class="section"><h3>Configuring Your Compiler Plugin<a name="Configuring_Your_Compiler_Plugin"></a></h3><p>Since the Compiler Plugin executes automatically during their phases, you don't have to put <tt>executions</tt> unlike
  many other plugins. However, you should specify the version of the Compiler Plugin.</p><div class="source"><pre>&lt;project&gt;
+  ...
+  &lt;build&gt;
+    &lt;pluginManagement&gt;
+      &lt;plugins&gt;
+        &lt;plugin&gt;
+          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
+          &lt;version&gt;3.1-SNAPSHOT&lt;/version&gt;
+          &lt;configuration&gt;
+            &lt;!-- put your configurations here --&gt;
+          &lt;/configuration&gt;
+        &lt;/plugin&gt;
+      &lt;/plugins&gt;
+    &lt;/pluginManagement&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;</pre></div><p><b>Note</b>: Maven 3.0 will issue warnings if you do not specify the version of a plugin.</p></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2001-2012
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/usage.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/usage.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message