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:09:30 UTC
svn commit: r816619 [9/27] - in
/websites/production/maventest/content/plugins/maven-compiler-plugin-latest:
./ apidocs/ apidocs/org/apache/maven/plugin/
apidocs/org/apache/maven/plugin/class-use/ cobertura/ cobertura/css/ css/
examples/ testapidocs/ t...
Modified: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/cobertura/org.apache.maven.plugin.TestCompilerMojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/cobertura/org.apache.maven.plugin.TestCompilerMojo.html (original)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/cobertura/org.apache.maven.plugin.TestCompilerMojo.html Tue May 8 13:09:26 2012
@@ -12,7 +12,7 @@
<div class="separator"> </div>
<table class="report">
<thead><tr> <td class="heading">Classes in this File</td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Line Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Branch Coverage</a></td> <td class="heading"><a class="dfn" href="help.html" onclick="popupwindow('help.html'); return false;">Complexity</a></td></tr></thead>
- <tr><td><a href="org.apache.maven.plugin.TestCompilerMojo.html">TestCompilerMojo</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/30</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">0%</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:0px"><span class="text">0/22</span></div></div></td></tr></table></td><td class="value"><span class="hidden">0.0;</span>0</td></tr>
+ <tr><td><a href="org.apache.maven.plugin.TestCompilerMojo.html">TestCompilerMojo</a></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">90 %</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:90px"><span class="text">27/30</span></div></div></td></tr></table></td><td><table cellpadding="0px" cellspacing="0px" class="percentgraph"><tr class="percentgraph"><td align="right" class="percentgraph" width="40">59 %</td><td class="percentgraph"><div class="percentgraph"><div class="greenbar" style="width:59px"><span class="text">13/22</span></div></div></td></tr></table></td><td class="value"><span class="hidden">2.0;</span>2</td></tr>
</table>
<div class="separator"> </div>
@@ -103,7 +103,7 @@
<td class="src"><pre class="src"> <span class="comment"> * @requiresDependencyResolution test</span></pre></td></tr>
<tr> <td class="numLine"> 43</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr>
-<tr> <td class="numLineCover"> 44</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">public</span> <span class="keyword">class</span> TestCompilerMojo</span></pre></td></tr>
+<tr> <td class="numLineCover"> 44</td> <td class="nbHitsCovered"> 6</td> <td class="src"><pre class="src"> <span class="keyword">public</span> <span class="keyword">class</span> TestCompilerMojo</pre></td></tr>
<tr> <td class="numLine"> 45</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">extends</span> AbstractCompilerMojo</pre></td></tr>
<tr> <td class="numLine"> 46</td> <td class="nbHits"> </td>
@@ -111,7 +111,7 @@
<tr> <td class="numLine"> 47</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment">/**</span></pre></td></tr>
<tr> <td class="numLine"> 48</td> <td class="nbHits"> </td>
- <td class="src"><pre class="src"> <span class="comment"> * Set this to 'true' to bypass unit tests entirely.</span></pre></td></tr>
+ <td class="src"><pre class="src"> <span class="comment"> * Set this to 'true' to bypass compilation of test sources.</span></pre></td></tr>
<tr> <td class="numLine"> 49</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> * Its use is NOT RECOMMENDED, but quite convenient on occasion.</span></pre></td></tr>
<tr> <td class="numLine"> 50</td> <td class="nbHits"> </td>
@@ -188,7 +188,7 @@
<td class="src"><pre class="src"> <span class="comment"> * @parameter</span></pre></td></tr>
<tr> <td class="numLine"> 86</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr>
-<tr> <td class="numLineCover"> 87</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">private</span> Set<String> testIncludes = <span class="keyword">new</span> HashSet<String>();</span></pre></td></tr>
+<tr> <td class="numLineCover"> 87</td> <td class="nbHitsCovered"> 6</td> <td class="src"><pre class="src"> <span class="keyword">private</span> Set<String> testIncludes = <span class="keyword">new</span> HashSet<String>();</pre></td></tr>
<tr> <td class="numLine"> 88</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 89</td> <td class="nbHits"> </td>
@@ -201,7 +201,7 @@
<td class="src"><pre class="src"> <span class="comment"> * @parameter</span></pre></td></tr>
<tr> <td class="numLine"> 93</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> */</span></pre></td></tr>
-<tr> <td class="numLineCover"> 94</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">private</span> Set<String> testExcludes = <span class="keyword">new</span> HashSet<String>();</span></pre></td></tr>
+<tr> <td class="numLineCover"> 94</td> <td class="nbHitsCovered"> 6</td> <td class="src"><pre class="src"> <span class="keyword">private</span> Set<String> testExcludes = <span class="keyword">new</span> HashSet<String>();</pre></td></tr>
<tr> <td class="numLine"> 95</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 96</td> <td class="nbHits"> </td>
@@ -305,7 +305,7 @@
<tr> <td class="numLine"> 145</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> * </p></span></pre></td></tr>
<tr> <td class="numLine"> 146</td> <td class="nbHits"> </td>
- <td class="src"><pre class="src"> <span class="comment"> * @parameter default-value="${project.build.directory}/generated-sources/test-annotations"</span></pre></td></tr>
+ <td class="src"><pre class="src"> <span class="comment"> * @parameter default-value="${project.build.directory}/generated-test-sources/test-annotations"</span></pre></td></tr>
<tr> <td class="numLine"> 147</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="comment"> * @since 2.2</span></pre></td></tr>
<tr> <td class="numLine"> 148</td> <td class="nbHits"> </td>
@@ -322,7 +322,7 @@
<td class="src"><pre class="src"> <span class="keyword">throws</span> MojoExecutionException, CompilationFailureException</pre></td></tr>
<tr> <td class="numLine"> 154</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 155</td> <td class="nbHitsUncovered"><a title="Line 155: Conditional coverage 0% (0/2)."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 155: Conditional coverage 0% (0/2)."> <span class="keyword">if</span> ( skip )</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 155</td> <td class="nbHitsUncovered"><a title="Line 155: Conditional coverage 50 % (1/2)."> 6</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 155: Conditional coverage 50 % (1/2)."> <span class="keyword">if</span> ( skip )</a></span></pre></td></tr>
<tr> <td class="numLine"> 156</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
<tr> <td class="numLineCover"> 157</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> getLog().info( <span class="string">"Not compiling test sources"</span> );</span></pre></td></tr>
@@ -332,17 +332,17 @@
<td class="src"><pre class="src"> <span class="keyword">else</span></pre></td></tr>
<tr> <td class="numLine"> 160</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 161</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">super</span>.execute();</span></pre></td></tr>
+<tr> <td class="numLineCover"> 161</td> <td class="nbHitsCovered"> 6</td> <td class="src"><pre class="src"> <span class="keyword">super</span>.execute();</pre></td></tr>
<tr> <td class="numLine"> 162</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
-<tr> <td class="numLineCover"> 163</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> }</span></pre></td></tr>
+<tr> <td class="numLineCover"> 163</td> <td class="nbHitsCovered"> 6</td> <td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 164</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
<tr> <td class="numLine"> 165</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">protected</span> List<String> getCompileSourceRoots()</pre></td></tr>
<tr> <td class="numLine"> 166</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 167</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">return</span> compileSourceRoots;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 167</td> <td class="nbHitsCovered"> 15</td> <td class="src"><pre class="src"> <span class="keyword">return</span> compileSourceRoots;</pre></td></tr>
<tr> <td class="numLine"> 168</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 169</td> <td class="nbHits"> </td>
@@ -351,7 +351,7 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> List<String> getClasspathElements()</pre></td></tr>
<tr> <td class="numLine"> 171</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 172</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">return</span> classpathElements;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 172</td> <td class="nbHitsCovered"> 12</td> <td class="src"><pre class="src"> <span class="keyword">return</span> classpathElements;</pre></td></tr>
<tr> <td class="numLine"> 173</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 174</td> <td class="nbHits"> </td>
@@ -360,7 +360,7 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> File getOutputDirectory()</pre></td></tr>
<tr> <td class="numLine"> 176</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 177</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">return</span> outputDirectory;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 177</td> <td class="nbHitsCovered"> 21</td> <td class="src"><pre class="src"> <span class="keyword">return</span> outputDirectory;</pre></td></tr>
<tr> <td class="numLine"> 178</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 179</td> <td class="nbHits"> </td>
@@ -369,31 +369,31 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> SourceInclusionScanner getSourceInclusionScanner( <span class="keyword">int</span> staleMillis )</pre></td></tr>
<tr> <td class="numLine"> 181</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 182</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> SourceInclusionScanner scanner = <span class="keyword">null</span>;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 182</td> <td class="nbHitsCovered"> 5</td> <td class="src"><pre class="src"> SourceInclusionScanner scanner = <span class="keyword">null</span>;</pre></td></tr>
<tr> <td class="numLine"> 183</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
-<tr> <td class="numLineCover"> 184</td> <td class="nbHitsUncovered"><a title="Line 184: Conditional coverage 0% (0/4) [each condition: 0%, 0%]."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 184: Conditional coverage 0% (0/4) [each condition: 0%, 0%]."> <span class="keyword">if</span> ( testIncludes.isEmpty() && testExcludes.isEmpty() )</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 184</td> <td class="nbHitsUncovered"><a title="Line 184: Conditional coverage 75 % (3/4) [each condition: 100 %, 50 %]."> 5</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 184: Conditional coverage 75 % (3/4) [each condition: 100 %, 50 %]."> <span class="keyword">if</span> ( testIncludes.isEmpty() && testExcludes.isEmpty() )</a></span></pre></td></tr>
<tr> <td class="numLine"> 185</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 186</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> scanner = <span class="keyword">new</span> StaleSourceScanner( staleMillis );</span></pre></td></tr>
+<tr> <td class="numLineCover"> 186</td> <td class="nbHitsCovered"> 3</td> <td class="src"><pre class="src"> scanner = <span class="keyword">new</span> StaleSourceScanner( staleMillis );</pre></td></tr>
<tr> <td class="numLine"> 187</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 188</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">else</span></pre></td></tr>
<tr> <td class="numLine"> 189</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 190</td> <td class="nbHitsUncovered"><a title="Line 190: Conditional coverage 0% (0/2)."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 190: Conditional coverage 0% (0/2)."> <span class="keyword">if</span> ( testIncludes.isEmpty() )</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 190</td> <td class="nbHitsUncovered"><a title="Line 190: Conditional coverage 50 % (1/2)."> 2</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 190: Conditional coverage 50 % (1/2)."> <span class="keyword">if</span> ( testIncludes.isEmpty() )</a></span></pre></td></tr>
<tr> <td class="numLine"> 191</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
<tr> <td class="numLineCover"> 192</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> testIncludes.add( <span class="string">"**/*.java"</span> );</span></pre></td></tr>
<tr> <td class="numLine"> 193</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
-<tr> <td class="numLineCover"> 194</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> scanner = <span class="keyword">new</span> StaleSourceScanner( staleMillis, testIncludes, testExcludes );</span></pre></td></tr>
+<tr> <td class="numLineCover"> 194</td> <td class="nbHitsCovered"> 2</td> <td class="src"><pre class="src"> scanner = <span class="keyword">new</span> StaleSourceScanner( staleMillis, testIncludes, testExcludes );</pre></td></tr>
<tr> <td class="numLine"> 195</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 196</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
-<tr> <td class="numLineCover"> 197</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">return</span> scanner;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 197</td> <td class="nbHitsCovered"> 5</td> <td class="src"><pre class="src"> <span class="keyword">return</span> scanner;</pre></td></tr>
<tr> <td class="numLine"> 198</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 199</td> <td class="nbHits"> </td>
@@ -402,32 +402,32 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> SourceInclusionScanner getSourceInclusionScanner( String inputFileEnding )</pre></td></tr>
<tr> <td class="numLine"> 201</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 202</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> SourceInclusionScanner scanner = <span class="keyword">null</span>;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 202</td> <td class="nbHitsCovered"> 2</td> <td class="src"><pre class="src"> SourceInclusionScanner scanner = <span class="keyword">null</span>;</pre></td></tr>
<tr> <td class="numLine"> 203</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
-<tr> <td class="numLineCover"> 204</td> <td class="nbHitsUncovered"><a title="Line 204: Conditional coverage 0% (0/4) [each condition: 0%, 0%]."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 204: Conditional coverage 0% (0/4) [each condition: 0%, 0%]."> <span class="keyword">if</span> ( testIncludes.isEmpty() && testExcludes.isEmpty() )</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 204</td> <td class="nbHitsUncovered"><a title="Line 204: Conditional coverage 75 % (3/4) [each condition: 100 %, 50 %]."> 2</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 204: Conditional coverage 75 % (3/4) [each condition: 100 %, 50 %]."> <span class="keyword">if</span> ( testIncludes.isEmpty() && testExcludes.isEmpty() )</a></span></pre></td></tr>
<tr> <td class="numLine"> 205</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 206</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> testIncludes = Collections.singleton( <span class="string">"**/*."</span> + inputFileEnding );</span></pre></td></tr>
-<tr> <td class="numLineCover"> 207</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> scanner = <span class="keyword">new</span> SimpleSourceInclusionScanner( testIncludes, Collections.EMPTY_SET );</span></pre></td></tr>
+<tr> <td class="numLineCover"> 206</td> <td class="nbHitsCovered"> 1</td> <td class="src"><pre class="src"> testIncludes = Collections.singleton( <span class="string">"**/*."</span> + inputFileEnding );</pre></td></tr>
+<tr> <td class="numLineCover"> 207</td> <td class="nbHitsCovered"> 1</td> <td class="src"><pre class="src"> scanner = <span class="keyword">new</span> SimpleSourceInclusionScanner( testIncludes, Collections.EMPTY_SET );</pre></td></tr>
<tr> <td class="numLine"> 208</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 209</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> <span class="keyword">else</span></pre></td></tr>
<tr> <td class="numLine"> 210</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 211</td> <td class="nbHitsUncovered"><a title="Line 211: Conditional coverage 0% (0/2)."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 211: Conditional coverage 0% (0/2)."> <span class="keyword">if</span> ( testIncludes.isEmpty() )</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 211</td> <td class="nbHitsUncovered"><a title="Line 211: Conditional coverage 50 % (1/2)."> 1</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 211: Conditional coverage 50 % (1/2)."> <span class="keyword">if</span> ( testIncludes.isEmpty() )</a></span></pre></td></tr>
<tr> <td class="numLine"> 212</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
<tr> <td class="numLineCover"> 213</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> testIncludes.add( <span class="string">"**/*."</span> + inputFileEnding );</span></pre></td></tr>
<tr> <td class="numLine"> 214</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
-<tr> <td class="numLineCover"> 215</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> scanner = <span class="keyword">new</span> SimpleSourceInclusionScanner( testIncludes, testExcludes );</span></pre></td></tr>
+<tr> <td class="numLineCover"> 215</td> <td class="nbHitsCovered"> 1</td> <td class="src"><pre class="src"> scanner = <span class="keyword">new</span> SimpleSourceInclusionScanner( testIncludes, testExcludes );</pre></td></tr>
<tr> <td class="numLine"> 216</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 217</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> </pre></td></tr>
-<tr> <td class="numLineCover"> 218</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">return</span> scanner;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 218</td> <td class="nbHitsCovered"> 2</td> <td class="src"><pre class="src"> <span class="keyword">return</span> scanner;</pre></td></tr>
<tr> <td class="numLine"> 219</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 220</td> <td class="nbHits"> </td>
@@ -436,7 +436,7 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> String getSource()</pre></td></tr>
<tr> <td class="numLine"> 222</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 223</td> <td class="nbHitsUncovered"><a title="Line 223: Conditional coverage 0% (0/2)."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 223: Conditional coverage 0% (0/2)."> <span class="keyword">return</span> testSource == <span class="keyword">null</span> ? source : testSource;</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 223</td> <td class="nbHitsUncovered"><a title="Line 223: Conditional coverage 50 % (1/2)."> 5</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 223: Conditional coverage 50 % (1/2)."> <span class="keyword">return</span> testSource == <span class="keyword">null</span> ? source : testSource;</a></span></pre></td></tr>
<tr> <td class="numLine"> 224</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 225</td> <td class="nbHits"> </td>
@@ -445,7 +445,7 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> String getTarget()</pre></td></tr>
<tr> <td class="numLine"> 227</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 228</td> <td class="nbHitsUncovered"><a title="Line 228: Conditional coverage 0% (0/2)."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 228: Conditional coverage 0% (0/2)."> <span class="keyword">return</span> testTarget == <span class="keyword">null</span> ? target : testTarget;</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 228</td> <td class="nbHitsUncovered"><a title="Line 228: Conditional coverage 50 % (1/2)."> 5</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 228: Conditional coverage 50 % (1/2)."> <span class="keyword">return</span> testTarget == <span class="keyword">null</span> ? target : testTarget;</a></span></pre></td></tr>
<tr> <td class="numLine"> 229</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 230</td> <td class="nbHits"> </td>
@@ -454,7 +454,7 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> String getCompilerArgument()</pre></td></tr>
<tr> <td class="numLine"> 232</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 233</td> <td class="nbHitsUncovered"><a title="Line 233: Conditional coverage 0% (0/2)."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 233: Conditional coverage 0% (0/2)."> <span class="keyword">return</span> testCompilerArgument == <span class="keyword">null</span> ? compilerArgument : testCompilerArgument;</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 233</td> <td class="nbHitsUncovered"><a title="Line 233: Conditional coverage 50 % (1/2)."> 5</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 233: Conditional coverage 50 % (1/2)."> <span class="keyword">return</span> testCompilerArgument == <span class="keyword">null</span> ? compilerArgument : testCompilerArgument;</a></span></pre></td></tr>
<tr> <td class="numLine"> 234</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 235</td> <td class="nbHits"> </td>
@@ -463,7 +463,7 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> Map<String, String> getCompilerArguments()</pre></td></tr>
<tr> <td class="numLine"> 237</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 238</td> <td class="nbHitsUncovered"><a title="Line 238: Conditional coverage 0% (0/2)."> 0</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 238: Conditional coverage 0% (0/2)."> <span class="keyword">return</span> testCompilerArguments == <span class="keyword">null</span> ? compilerArguments : testCompilerArguments;</a></span></pre></td></tr>
+<tr> <td class="numLineCover"> 238</td> <td class="nbHitsUncovered"><a title="Line 238: Conditional coverage 50 % (1/2)."> 5</a></td> <td class="src"><pre class="src"><span class="srcUncovered"> <a title="Line 238: Conditional coverage 50 % (1/2)."> <span class="keyword">return</span> testCompilerArguments == <span class="keyword">null</span> ? compilerArguments : testCompilerArguments;</a></span></pre></td></tr>
<tr> <td class="numLine"> 239</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 240</td> <td class="nbHits"> </td>
@@ -472,7 +472,7 @@
<td class="src"><pre class="src"> <span class="keyword">protected</span> File getGeneratedSourcesDirectory() </pre></td></tr>
<tr> <td class="numLine"> 242</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> {</pre></td></tr>
-<tr> <td class="numLineCover"> 243</td> <td class="nbHitsUncovered"> 0</td> <td class="src"><pre class="src"><span class="srcUncovered"> <span class="keyword">return</span> generatedTestSourcesDirectory;</span></pre></td></tr>
+<tr> <td class="numLineCover"> 243</td> <td class="nbHitsCovered"> 5</td> <td class="src"><pre class="src"> <span class="keyword">return</span> generatedTestSourcesDirectory;</pre></td></tr>
<tr> <td class="numLine"> 244</td> <td class="nbHits"> </td>
<td class="src"><pre class="src"> }</pre></td></tr>
<tr> <td class="numLine"> 245</td> <td class="nbHits"> </td>
@@ -481,6 +481,6 @@
<td class="src"><pre class="src"> }</pre></td></tr>
</table>
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 04.09.10 16:11.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9.4.1 on 27/04/12 23:03.</div>
</body>
</html>
\ No newline at end of file
Modified: websites/production/maventest/content/plugins/maven-compiler-plugin-latest/compile-mojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-compiler-plugin-latest/compile-mojo.html (original)
+++ websites/production/maventest/content/plugins/maven-compiler-plugin-latest/compile-mojo.html Tue May 8 13:09:26 2012
@@ -1,25 +1,17 @@
<!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 Apr 27, 2012 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven Compiler plugin - compiler:compile</title>
+ <title>
+ compiler:compile</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" />
+ <meta name="Date-Revision-yyyymmdd" content="20120427" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
@@ -28,52 +20,33 @@
</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>
+ <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>
+ >
+ <a href="../../index.html">Maven</a>
+ >
+ <a href="../index.html">Plugins</a>
+ >
+ <a href="./">Maven Compiler plugin</a>
+ >
- <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="../../../../../people.apache.org/www/maven.apache.org/plugins/maven-compiler-plugin">Maven Compiler Plugin</a>
- </div>
- <div class="xright">
-
-
-
-
-
-
-
- Last Published: 2010-09-04
- | Version: 2.3.2
+ compiler:compile
+ </div>
+ <div class="xright">
+ Last Published: 2012-04-27
+ | Version: 2.4
</div>
<div class="clear">
<hr/>
@@ -81,597 +54,557 @@
</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>
+
+ <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>
+ <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>
+ <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="../index.html">Plugins</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="../../surefire/index.html">Surefire</a>
+ </li>
+ <li class="none">
+ <a href="../../wagon/index.html">Wagon</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>
+ <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"></img>
- </a>
+ <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>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2><a name="compiler:compile"></a>compiler:compile</h2>
-<p><strong>Full name</strong>:</p>
-<p>org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile</p>
-<p><strong>Description</strong>:</p>
-<div>Compiles application sources</div><p><strong>Attributes</strong>:</p>
-<ul><li>Requires a Maven 2.0 project to be executed.</li>
-<li>Requires dependency resolution of artifacts in scope: <code>compile</code>.</li>
-<li>The goal is thread-safe and supports parallel builds.</li>
-<li>Since version: <code>2.0</code>.</li>
-<li>Binds by default to the lifecycle phase: <code>compile</code>.</li>
-</ul>
-<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="#annotationProcessors">annotationProcessors</a></strong></td>
-<td><code>String[]</code></td>
-<td><code>2.2</code></td>
-<td><p>Names of annotation processors to run. Only applies to JDK 1.6+
+
+
+ <div class="section"><h2>compiler:compile<a name="compiler:compile"></a></h2>
+ <p><b>Full name</b>:</p>
+ <p>org.apache.maven.plugins:maven-compiler-plugin:2.4:compile</p>
+ <p><b>Description</b>:</p>
+ <div>Compiles application 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>compile</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 lifecycle phase: <tt>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><strong><a href="#compilerArgument">compilerArgument</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td><p>Sets the unformatted argument string to be passed to the
-compiler if fork is set to true.</p>
+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><strong><a href="#compilerArguments">compilerArguments</a></strong></td>
-<td><code>Map</code></td>
-<td><code>2.0.1</code></td>
-<td><p>Sets the arguments to be passed to the compiler (prepending a
-dash) if fork is set to true.</p>
+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>
-<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#compilerId">compilerId</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The compiler id of the compiler to use. See this <a href="non-javac-compilers.html">guide</a> for more information.<br />
-<strong>Default value is</strong>: <code>javac</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#compilerVersion">compilerVersion</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>Version of the compiler to use, ex. "1.3", "1.5", if fork is set to
-true.<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#debug">debug</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Set to true to include debugging information in the compiled class
-files.<br />
-<strong>Default value is</strong>: <code>true</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#debuglevel">debuglevel</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.1</code></td>
-<td>Keyword list to be appended to the -g command-line switch. Legal
+<p>To pass <tt>-Xmaxerrs 1000 -Xlint -Xlint:-path
+-Averbose=true</tt> you should include the following:</p>
+<div><pre>
+<compilerArguments>
+ <Xmaxerrs>1000</Xmaxerrs>
+ <Xlint/>
+ <Xlint:-path/>
+ <Averbose>true</Averbose>
+</compilerArguments>
+</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>.</td>
+ </tr>
+ <tr class="b">
+ <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. "1.3", "1.5", if
+<tt>fork</tt> is set to <tt>true</tt>.<br /></td>
+ </tr>
+ <tr class="a">
+ <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>.</td>
+ </tr>
+ <tr class="b">
+ <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 -g command-line switch. Legal
values are none or a comma-separated list of the following
keywords: lines, vars, and source. If debuglevel is not specified,
by default, nothing will be appended to -g. If debug is not turned
-on, this attribute will be ignored.<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#encoding">encoding</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The -encoding argument for the Java compiler.<br />
-<strong>Default value is</strong>: <code>${project.build.sourceEncoding}</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#excludes">excludes</a></strong></td>
-<td><code>Set</code></td>
-<td><code>2.0</code></td>
-<td>A list of exclusion filters for the compiler.<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#executable">executable</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>Sets the executable of the compiler to use when fork is true.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#failOnError">failOnError</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0.2</code></td>
-<td>Indicates whether the build will continue even if there are
-compilation errors; defaults to true.<br />
-<strong>Default value is</strong>: <code>true</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#fork">fork</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Allows running the compiler in a separate process. If "false" it
-uses the built in compiler, while if "true" it will use an
-executable.<br />
-<strong>Default value is</strong>: <code>false</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#generatedSourcesDirectory">generatedSourcesDirectory</a></strong></td>
-<td><code>File</code></td>
-<td><code>2.2</code></td>
-<td><p>Specify where to place generated source files created by
-annotation processing. Only applies to JDK 1.6+</p>
-<br />
-<strong>Default value is</strong>: <code>${project.build.directory}/generated-sources/annotations</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#includes">includes</a></strong></td>
-<td><code>Set</code></td>
-<td><code>2.0</code></td>
-<td>A list of inclusion filters for the compiler.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#maxmem">maxmem</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0.1</code></td>
-<td>Sets the maximum size, in megabytes, of the memory allocation pool,
-ex. "128", "128m" if fork is set to true.<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#meminitial">meminitial</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0.1</code></td>
-<td>Initial size, in megabytes, of the memory allocation pool, ex.
-"64", "64m" if fork is set to true.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#optimize">optimize</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Set to true to optimize the compiled code using the compiler's
-optimization methods.<br />
-<strong>Default value is</strong>: <code>false</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#outputFileName">outputFileName</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>Sets the name of the output file when compiling a set of sources to
-a single file.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#proc">proc</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.2</code></td>
-<td><p>Sets whether annotation processing is performed or not. Only
+on, this attribute will be ignored.<br /></td>
+ </tr>
+ <tr class="a">
+ <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>.</td>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#excludes">excludes</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="#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 /></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>.</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>.</td>
+ </tr>
+ <tr class="b">
+ <td><b><a href="#generatedSourcesDirectory">generatedSourcesDirectory</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-sources/annotations</tt>.</td>
+ </tr>
+ <tr class="a">
+ <td><b><a href="#includes">includes</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="#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. "128", "128m" if <tt>fork</tt> is set to <tt>true</tt>.<br /></td>
+ </tr>
+ <tr class="a">
+ <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.
+"64", "64m" if <tt>fork</tt> is set to <tt>true</tt>.<br /></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>.</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.<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: none - no annotation processing is
performed. only - only annotation processing is done, no
-compilation.</p>
-<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#showDeprecation">showDeprecation</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Sets whether to show source locations where deprecated APIs are
-used.<br />
-<strong>Default value is</strong>: <code>false</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#showWarnings">showWarnings</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Set to true to show compilation warnings.<br />
-<strong>Default value is</strong>: <code>false</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#source">source</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The -source argument for the Java compiler.<br />
-<strong>Default value is</strong>: <code>1.5</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#staleMillis">staleMillis</a></strong></td>
-<td><code>int</code></td>
-<td><code>2.0</code></td>
-<td>Sets the granularity in milliseconds of the last modification date
-for testing whether a source needs recompilation.<br />
-<strong>Default value is</strong>: <code>0</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#target">target</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The -target argument for the Java compiler.<br />
-<strong>Default value is</strong>: <code>1.5</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#verbose">verbose</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Set to true to show messages about what the compiler is doing.<br />
-<strong>Default value is</strong>: <code>false</code>.</td>
-</tr>
-</table>
-</div>
-<div class="section"><h3><a name="Parameter_Details"></a>Parameter Details</h3>
-<p><strong><a name="annotationProcessors">annotationProcessors</a>:</strong></p>
-<div><p>Names of annotation processors to run. Only applies to JDK 1.6+
+compilation.</p><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>.</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>.</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>.</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>.</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>.</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>.</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><strong>Type</strong>: <code>java.lang.String[]</code></li>
-<li><strong>Since</strong>: <code>2.2</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-</ul>
-<hr />
-<p><strong><a name="compilerArgument">compilerArgument</a>:</strong></p>
-<div><p>Sets the unformatted argument string to be passed to the
-compiler if fork is set to true.</p>
+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><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-</ul>
-<hr />
-<p><strong><a name="compilerArguments">compilerArguments</a>:</strong></p>
-<div><p>Sets the arguments to be passed to the compiler (prepending a
-dash) if fork is set to true.</p>
+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>
-</div><ul><li><strong>Type</strong>: <code>java.util.Map</code></li>
-<li><strong>Since</strong>: <code>2.0.1</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-</ul>
-<hr />
-<p><strong><a name="compilerId">compilerId</a>:</strong></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><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.compilerId}</code></li>
-<li><strong>Default</strong>: <code>javac</code></li>
-</ul>
-<hr />
-<p><strong><a name="compilerVersion">compilerVersion</a>:</strong></p>
-<div>Version of the compiler to use, ex. "1.3", "1.5", if fork is set to
-true.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.compilerVersion}</code></li>
-</ul>
-<hr />
-<p><strong><a name="debug">debug</a>:</strong></p>
-<div>Set to true to include debugging information in the compiled class
-files.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.debug}</code></li>
-<li><strong>Default</strong>: <code>true</code></li>
-</ul>
-<hr />
-<p><strong><a name="debuglevel">debuglevel</a>:</strong></p>
-<div>Keyword list to be appended to the -g command-line switch. Legal
+<p>To pass <tt>-Xmaxerrs 1000 -Xlint -Xlint:-path
+-Averbose=true</tt> you should include the following:</p>
+<div><pre>
+<compilerArguments>
+ <Xmaxerrs>1000</Xmaxerrs>
+ <Xlint/>
+ <Xlint:-path/>
+ <Averbose>true</Averbose>
+</compilerArguments>
+</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>Expression</b>: <tt>${maven.compiler.compilerId}</tt></li>
+ <li><b>Default</b>: <tt>javac</tt></li>
+ </ul><hr /><p><b><a name="compilerVersion">compilerVersion</a>:</b></p>
+ <div>Version of the compiler to use, ex. "1.3", "1.5", 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>Expression</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>Expression</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 -g command-line switch. Legal
values are none or a comma-separated list of the following
keywords: lines, vars, and source. If debuglevel is not specified,
by default, nothing will be appended to -g. If debug is not turned
-on, this attribute will be ignored.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.1</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.debuglevel}</code></li>
-</ul>
-<hr />
-<p><strong><a name="encoding">encoding</a>:</strong></p>
-<div>The -encoding argument for the Java compiler.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${encoding}</code></li>
-<li><strong>Default</strong>: <code>${project.build.sourceEncoding}</code></li>
-</ul>
-<hr />
-<p><strong><a name="excludes">excludes</a>:</strong></p>
-<div>A list of exclusion filters for the compiler.</div><ul><li><strong>Type</strong>: <code>java.util.Set</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-</ul>
-<hr />
-<p><strong><a name="executable">executable</a>:</strong></p>
-<div>Sets the executable of the compiler to use when fork is true.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.executable}</code></li>
-</ul>
-<hr />
-<p><strong><a name="failOnError">failOnError</a>:</strong></p>
-<div>Indicates whether the build will continue even if there are
-compilation errors; defaults to true.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0.2</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.failOnError}</code></li>
-<li><strong>Default</strong>: <code>true</code></li>
-</ul>
-<hr />
-<p><strong><a name="fork">fork</a>:</strong></p>
-<div>Allows running the compiler in a separate process. If "false" it
-uses the built in compiler, while if "true" it will use an
-executable.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.fork}</code></li>
-<li><strong>Default</strong>: <code>false</code></li>
-</ul>
-<hr />
-<p><strong><a name="generatedSourcesDirectory">generatedSourcesDirectory</a>:</strong></p>
-<div><p>Specify where to place generated source files created by
-annotation processing. Only applies to JDK 1.6+</p>
-</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
-<li><strong>Since</strong>: <code>2.2</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Default</strong>: <code>${project.build.directory}/generated-sources/annotations</code></li>
-</ul>
-<hr />
-<p><strong><a name="includes">includes</a>:</strong></p>
-<div>A list of inclusion filters for the compiler.</div><ul><li><strong>Type</strong>: <code>java.util.Set</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-</ul>
-<hr />
-<p><strong><a name="maxmem">maxmem</a>:</strong></p>
-<div>Sets the maximum size, in megabytes, of the memory allocation pool,
-ex. "128", "128m" if fork is set to true.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0.1</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.maxmem}</code></li>
-</ul>
-<hr />
-<p><strong><a name="meminitial">meminitial</a>:</strong></p>
-<div>Initial size, in megabytes, of the memory allocation pool, ex.
-"64", "64m" if fork is set to true.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0.1</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.meminitial}</code></li>
-</ul>
-<hr />
-<p><strong><a name="optimize">optimize</a>:</strong></p>
-<div>Set to true to optimize the compiled code using the compiler's
-optimization methods.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.optimize}</code></li>
-<li><strong>Default</strong>: <code>false</code></li>
-</ul>
-<hr />
-<p><strong><a name="outputFileName">outputFileName</a>:</strong></p>
-<div>Sets the name of the output file when compiling a set of sources to
-a single file.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${project.build.finalName}</code></li>
-</ul>
-<hr />
-<p><strong><a name="proc">proc</a>:</strong></p>
-<div><p>Sets whether annotation processing is performed or not. Only
+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>Expression</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>Expression</b>: <tt>${encoding}</tt></li>
+ <li><b>Default</b>: <tt>${project.build.sourceEncoding}</tt></li>
+ </ul><hr /><p><b><a name="excludes">excludes</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="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>Expression</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>Expression</b>: <tt>${maven.compiler.failOnError}</tt></li>
+ <li><b>Default</b>: <tt>true</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>Expression</b>: <tt>${maven.compiler.fork}</tt></li>
+ <li><b>Default</b>: <tt>false</tt></li>
+ </ul><hr /><p><b><a name="generatedSourcesDirectory">generatedSourcesDirectory</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-sources/annotations</tt></li>
+ </ul><hr /><p><b><a name="includes">includes</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="maxmem">maxmem</a>:</b></p>
+ <div>Sets the maximum size, in megabytes, of the memory allocation pool,
+ex. "128", "128m" 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>Expression</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.
+"64", "64m" 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>Expression</b>: <tt>${maven.compiler.meminitial}</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>Expression</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.</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>Expression</b>: <tt>${project.build.finalName}</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: none - no annotation processing is
performed. only - only annotation processing is done, no
-compilation.</p>
-</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.2</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-</ul>
-<hr />
-<p><strong><a name="showDeprecation">showDeprecation</a>:</strong></p>
-<div>Sets whether to show source locations where deprecated APIs are
-used.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.showDeprecation}</code></li>
-<li><strong>Default</strong>: <code>false</code></li>
-</ul>
-<hr />
-<p><strong><a name="showWarnings">showWarnings</a>:</strong></p>
-<div>Set to true to show compilation warnings.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.showWarnings}</code></li>
-<li><strong>Default</strong>: <code>false</code></li>
-</ul>
-<hr />
-<p><strong><a name="source">source</a>:</strong></p>
-<div>The -source argument for the Java compiler.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.source}</code></li>
-<li><strong>Default</strong>: <code>1.5</code></li>
-</ul>
-<hr />
-<p><strong><a name="staleMillis">staleMillis</a>:</strong></p>
-<div>Sets the granularity in milliseconds of the last modification date
-for testing whether a source needs recompilation.</div><ul><li><strong>Type</strong>: <code>int</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${lastModGranularityMs}</code></li>
-<li><strong>Default</strong>: <code>0</code></li>
-</ul>
-<hr />
-<p><strong><a name="target">target</a>:</strong></p>
-<div>The -target argument for the Java compiler.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.target}</code></li>
-<li><strong>Default</strong>: <code>1.5</code></li>
-</ul>
-<hr />
-<p><strong><a name="verbose">verbose</a>:</strong></p>
-<div>Set to true to show messages about what the compiler is doing.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${maven.compiler.verbose}</code></li>
-<li><strong>Default</strong>: <code>false</code></li>
-</ul>
-</div>
-</div>
+compilation.</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="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>Expression</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>Expression</b>: <tt>${maven.compiler.showWarnings}</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>Expression</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>Expression</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>Expression</b>: <tt>${maven.compiler.target}</tt></li>
+ <li><b>Default</b>: <tt>1.5</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>Expression</b>: <tt>${maven.compiler.verbose}</tt></li>
+ <li><b>Default</b>: <tt>false</tt></li>
+ </ul>
+ </div>
+ </div>
+
</div>
</div>
@@ -679,19 +612,13 @@ for testing whether a source needs recom
<hr/>
</div>
<div id="footer">
- <div class="xright">©
- 2001-2010
-
- The Apache Software Foundation
-
-
-
-
-
+ <div class="xright">
+ © 2001-2012
+ The Apache Software Foundation
-
-
- - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
+ - <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>