maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r746652 - in /maven/doxia/doxia/trunk: doxia-sink-api/pom.xml pom.xml
Date Sun, 22 Feb 2009 09:36:25 GMT
Author: hboutemy
Date: Sun Feb 22 09:36:21 2009
New Revision: 746652

URL: http://svn.apache.org/viewvc?rev=746652&view=rev
Log:
added reporting-aggregate profile to inherited reporting one

Modified:
    maven/doxia/doxia/trunk/doxia-sink-api/pom.xml
    maven/doxia/doxia/trunk/pom.xml

Modified: maven/doxia/doxia/trunk/doxia-sink-api/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-sink-api/pom.xml?rev=746652&r1=746651&r2=746652&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-sink-api/pom.xml (original)
+++ maven/doxia/doxia/trunk/doxia-sink-api/pom.xml Sun Feb 22 09:36:21 2009
@@ -40,16 +40,21 @@
       </dependency>
   </dependencies>
 
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>clirr-maven-plugin</artifactId>
-        <version>2.2.2</version>
-        <configuration>
-          <comparisonVersion>1.0</comparisonVersion>
-        </configuration>
-      </plugin>
-    </plugins>
-  </reporting>
+  <profiles>
+    <profile>
+      <id>reporting</id>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>clirr-maven-plugin</artifactId>
+            <version>2.2.2</version>
+            <configuration>
+              <comparisonVersion>1.0</comparisonVersion>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
 </project>

Modified: maven/doxia/doxia/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/pom.xml?rev=746652&r1=746651&r2=746652&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/pom.xml (original)
+++ maven/doxia/doxia/trunk/pom.xml Sun Feb 22 09:36:21 2009
@@ -327,15 +327,36 @@
       </build>
     </profile>
     <profile>
-      <id>reporting</id>
+      <id>reporting-aggregate</id>
+      <!-- To generate aggregate reports -->
+      <!-- To deploy both aggregate reports for top-level project and standalone reports
for modules, call
+           mvn site -Preporting
+           mvn site:deploy
+           mvn site -Preporting-aggregate
+           mvn -N site:deploy
+      -->
       <reporting>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-project-info-reports-plugin</artifactId>
+            <version>2.1</version>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jxr-plugin</artifactId>
+            <version>2.1</version>
+            <configuration>
+              <aggregate>true</aggregate>
+              <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.5</version>
             <configuration>
               <source>1.4</source>
-              <aggregate>true</aggregate>
               <links>
                 <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
                 <link>http://plexus.codehaus.org/plexus-utils/apidocs/</link>
@@ -348,12 +369,6 @@
                   <version>1.0</version>
                 </tagletArtifact>
               </tagletArtifacts>
-            </configuration>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-jxr-plugin</artifactId>
-            <configuration>
               <aggregate>true</aggregate>
             </configuration>
           </plugin>



Mime
View raw message