You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vm...@apache.org on 2007/01/21 08:30:56 UTC

svn commit: r498253 - /maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt

Author: vmassol
Date: Sat Jan 20 23:30:55 2007
New Revision: 498253

URL: http://svn.apache.org/viewvc?view=rev&rev=498253
Log:
Minor documentation correction: the contextFilters must be specified in the reporting section.

Modified:
    maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt

Modified: maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt?view=diff&rev=498253&r1=498252&r2=498253
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt Sat Jan 20 23:30:55 2007
@@ -222,19 +222,24 @@
 
   Clover allows specifying {{{http://cenqua.com/clover/doc/adv/contexts.html}block contexts}}
   (i.e. elements to be excluded from the Test Percentage Coverage). To configure a block context use
-  the <<<contextFilters>>> element. For example to exclude <<<try>>> and <<<static>>> block contexts, you would
-  write:
+  the <<<contextFilters>>> element in the <<<reporting>>> section. For example to exclude <<<try>>> and <<<static>>>
+  block contexts, you would write:
 
 +--------
 [...]
-  <plugin>
-    <groupId>org.apache.maven.plugins</groupId>
-    <artifactId>maven-clover-plugin</artifactId>
-    <configuration>
-      <contextFilters>try,static</contextFilters>
-    </configuration>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clover-plugin</artifactId>
+        <configuration>
+          <contextFilters>try,static</contextFilters>
+        </configuration>
 [...]
 +---------
+
+  Note that the <<<contextFilters>>> element has to be specified within the <<<reporting>>> section and will not
+  work if you specify it in the <<<build>>> section.
 
   <Back to {{{usage.html}top}}.>