Author: ltheussl
Date: Sun Mar 20 15:47:53 2011
New Revision: 1083473

URL: http://svn.apache.org/viewvc?rev=1083473&view=rev
Log:
[MSITE-570] Wrong documentation for Excluding Document Formats

Modified:
    
maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/moduleexcludes.apt.vm

Modified: 
maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/moduleexcludes.apt.vm
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/moduleexcludes.apt.vm?rev=1083473&r1=1083472&r2=1083473&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/moduleexcludes.apt.vm
 (original)
+++ 
maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/moduleexcludes.apt.vm
 Sun Mar 20 15:47:53 2011
@@ -29,7 +29,7 @@
 
 Excluding Document Formats
 
-  To exclude specific document formats from the generated site, you can use 
the <<<excludeModules>>> parameter.
+  To exclude specific document formats from the generated site, you can use 
the <<<moduleExcludes>>> parameter.
 
   For example, you have the following site content in your POM
 
@@ -59,7 +59,9 @@ Module1
         <artifactId>maven-site-plugin</artifactId>
         <version>${project.version}</version>
         <configuration>
-          <excludeModules>fml</excludeModules>
+          <moduleExcludes>
+            <fml>*.fml</fml>
+          </moduleExcludes>
         </configuration>
       </plugin>
     </plugins>
@@ -68,4 +70,7 @@ Module1
 </project>
 +-----+
 
-  You will see that no <<<sample-fml.html>>> will be present in the generated 
site.
\ No newline at end of file
+  You will see that no <<<sample-fml.html>>> will be present in the generated 
site.
+
+  See the documentation of the 
{{{../site-mojo.html#moduleExcludes}moduleExcludes}}
+  Mojo parameter for more details.
\ No newline at end of file


Reply via email to