You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2013/03/30 22:56:30 UTC

svn commit: r1462856 - in /commons/sandbox/classscan/trunk: parent/pom.xml pom.xml

Author: chas
Date: Sat Mar 30 21:56:29 2013
New Revision: 1462856

URL: http://svn.apache.org/r1462856
Log:
speed up site generation by reusing surefire test results from build cycle

Modified:
    commons/sandbox/classscan/trunk/parent/pom.xml
    commons/sandbox/classscan/trunk/pom.xml

Modified: commons/sandbox/classscan/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/parent/pom.xml?rev=1462856&r1=1462855&r2=1462856&view=diff
==============================================================================
--- commons/sandbox/classscan/trunk/parent/pom.xml (original)
+++ commons/sandbox/classscan/trunk/parent/pom.xml Sat Mar 30 21:56:29 2013
@@ -121,6 +121,22 @@
           </excludes>
         </configuration>
       </plugin>
+      
+      <!-- do not re-run tests. use the test output from the install phase -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+        <configuration>
+          <aggregate>${commons.surefire-report.aggregate}</aggregate>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>report-only</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
 
     </plugins>
 

Modified: commons/sandbox/classscan/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/pom.xml?rev=1462856&r1=1462855&r2=1462856&view=diff
==============================================================================
--- commons/sandbox/classscan/trunk/pom.xml (original)
+++ commons/sandbox/classscan/trunk/pom.xml Sat Mar 30 21:56:29 2013
@@ -35,7 +35,11 @@
   <version>0.2-SNAPSHOT</version>
   <packaging>pom</packaging>
   <description>A collection of libraries to obtain information about java classes without jvm loading</description>
-  
+
+  <properties>
+    <commons.surefire-report.aggregate>true</commons.surefire-report.aggregate>
+  </properties>
+
   <scm>
     <!-- repeat this here to prevent maven from locating scm at .../classscan/trunk/classscan -->
     <connection>scm:svn:http://svn.apache.org/repos/asf/commons/sandbox/classscan/trunk</connection>
@@ -50,22 +54,6 @@
   
   <reporting>
     <plugins>
-      
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-report-plugin</artifactId>
-        <configuration>
-          <aggregate>true</aggregate>
-        </configuration>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>report-only</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-      
     </plugins>
   </reporting>