Author: bimargulies
Date: Tue Aug 23 18:29:20 2011
New Revision: 1160835

URL: http://svn.apache.org/viewvc?rev=1160835&view=rev
Log:
[JXR-93] aggregate goal creates blank top-level report
o While I'm here, update the doc to recommend the new goals for aggregation 
instead of the deprecated param.

Modified:
    maven/jxr/trunk/maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm

Modified: 
maven/jxr/trunk/maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm
URL: 
http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm?rev=1160835&r1=1160834&r2=1160835&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm 
(original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm Tue 
Aug 23 18:29:20 2011
@@ -69,19 +69,32 @@ Project
 +-----+
 <project>
   ...
-  <reporting>
+  <build>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jxr-plugin</artifactId>
         <version>${project.version}</version>
-        <configuration>
-          ...
-          <aggregate>true</aggregate>
-          ...
-        </configuration>
+        <executions>
+          <execution>
+            <id>aggregate</id>
+            <goals>
+              <goal>aggregate</goal>
+              <goal>test-aggregate</goal></goals>
+            <phase>site</phase>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
+  </build>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jxr-plugin</artifactId>
+        <version>${project.version}</version>
+       </plugin>
+    </plugins>
   ...
   </reporting>
   ...
@@ -89,6 +102,6 @@ Project
 +-----+
 
  When you execute <<<mvn site>>> from the parent directory, which is 
<Project>, a set of JXR files will be created
- in the target directory of <Project> where all of the JXR files of the 
project's submodules are included. Otherwise if
- the <<<aggregate>>> parameter is set to <<<false>>>, a set of JXR files for 
<Module1> will be generated in the target directory of
+ in the target directory of <Project> where all of the JXR files of the 
project's submodules are included. 
+ Otherwise a set of JXR files for <Module1> will be generated in the target 
directory of
  <Module1>, another set of JXR files for <Module2> will be generated in the 
target directory of <Module2>, and so on.


Reply via email to