Author: ozizka(a)redhat.com
Date: 2009-05-15 10:43:06 -0400 (Fri, 15 May 2009)
New Revision: 423
Modified:
trunk/jsfunit/pom.xml
Log:
JSFUnit - Trying to split the Hudson's tests reports.
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-05-15 14:10:55 UTC (rev 422)
+++ trunk/jsfunit/pom.xml 2009-05-15 14:43:06 UTC (rev 423)
@@ -466,11 +466,63 @@
</execution>
</executions>
</plugin>
-
+
+ <!-- XSLT plugin - each execution separates one package. -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xslt-maven-plugin</artifactId>
+ <executions>
+
<execution><id>xslt-war</id><phase>post-integration-test</phase><goals><goal>transform</goal></goals>
+ <configuration>
+
<fileNameReplacement>TEST-org.jboss.jopr.jsfunit.as5.app.war.xml</fileNameReplacement>
+
<parameters><packageName>org.jboss.jopr.jsfunit.as5.app.war.</packageName></parameters>
+ </configuration>
+ </execution>
+
<execution><id>xslt-war</id><phase>post-integration-test</phase><goals><goal>transform</goal></goals>
+ <configuration>
+
<fileNameReplacement>TEST-org.jboss.jopr.jsfunit.as5.app.war.xml</fileNameReplacement>
+
<parameters><packageName>org.jboss.jopr.jsfunit.as5.app.war.</packageName></parameters>
+ </configuration>
+ </execution>
+
<execution><id>xslt-ear</id><phase>post-integration-test</phase><goals><goal>transform</goal></goals>
+ <configuration>
+
<fileNameReplacement>TEST-org.jboss.jopr.jsfunit.as5.app.ear.xml</fileNameReplacement>
+
<parameters><packageName>org.jboss.jopr.jsfunit.as5.app.ear.</packageName></parameters>
+ </configuration>
+ </execution>
+
<execution><id>xslt-rar</id><phase>post-integration-test</phase><goals><goal>transform</goal></goals>
+ <configuration>
+
<fileNameReplacement>TEST-org.jboss.jopr.jsfunit.as5.app.rar.xml</fileNameReplacement>
+
<parameters><packageName>org.jboss.jopr.jsfunit.as5.app.rar.</packageName></parameters>
+ </configuration>
+ </execution>
+
<execution><id>xslt-sar</id><phase>post-integration-test</phase><goals><goal>transform</goal></goals>
+ <configuration>
+
<fileNameReplacement>TEST-org.jboss.jopr.jsfunit.as5.app.ejb.xml</fileNameReplacement>
+
<parameters><packageName>org.jboss.jopr.jsfunit.as5.app.ejb.</packageName></parameters>
+ </configuration>
+ </execution>
+
<execution><id>xslt-sar</id><phase>post-integration-test</phase><goals><goal>transform</goal></goals>
+ <configuration>
+
<fileNameReplacement>TEST-org.jboss.jopr.jsfunit.as5.app.datasources.xml</fileNameReplacement>
+
<parameters><packageName>org.jboss.jopr.jsfunit.as5.app.datasources.</packageName></parameters>
+ </configuration>
+ </execution>
+
<execution><id>xslt-sar</id><phase>post-integration-test</phase><goals><goal>transform</goal></goals>
+ <configuration>
+
<fileNameReplacement>TEST-org.jboss.jopr.jsfunit.as5.app.jmsDestinations.xml</fileNameReplacement>
+
<parameters><packageName>org.jboss.jopr.jsfunit.as5.app.jmsDestinations.</packageName></parameters>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
</profile>
+ <!-- Debug profile - waits for debugger connection at port 4000.
+ The right time to connect is when Cargo plugin starts the server. -->
<profile>
<id>debug</id>
<properties>
@@ -519,7 +571,21 @@
</configuration>
</plugin>
+ <!-- XSLT plugin - properties shared for all executions. -->
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xslt-maven-plugin</artifactId>
+ <version>1.0</version>
+ <configuration>
+ <srcDir>${basedir}/target/surefire-reports</srcDir>
+ <destDir>${basedir}/target/surefire-reports</destDir>
+ <fileNameRegex>TEST-TestSuite.xml</fileNameRegex>
+ <xslFile>${basedir}/TEST-TestSuite.xsl</xslFile>
+ </configuration>
+ </plugin>
+
+ <!-- AntRun - delete bundled admin console before we deploy our own one.
-->
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
Show replies by date