Author: manik.surtani(a)jboss.com
Date: 2008-05-28 12:27:02 -0400 (Wed, 28 May 2008)
New Revision: 5900
Modified:
support/trunk/common/pom.xml
Log:
Modified: support/trunk/common/pom.xml
===================================================================
--- support/trunk/common/pom.xml 2008-05-28 16:26:55 UTC (rev 5899)
+++ support/trunk/common/pom.xml 2008-05-28 16:27:02 UTC (rev 5900)
@@ -25,8 +25,8 @@
</license>
</licenses>
<scm>
- <
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosscache/core/trun...
- <
developerConnection>scm:svn:https://svn.jboss.org/repos/jbosscache/cor...
+ <
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosscache</conne...
+ <
developerConnection>scm:svn:https://svn.jboss.org/repos/jbosscache<...
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/</url>
</scm>
<issueManagement>
@@ -34,8 +34,8 @@
<
url>http://jira.jboss.com/jira/browse/JBCACHE</url>
</issueManagement>
<ciManagement>
- <system>cruisecontrol</system>
- <
url>http://cruisecontrol.jboss.com/cc/</url>
+ <system>hudson</system>
+ <
url>http://hudson.qa.jboss.com/hudson/view/JBoss%20Cache/</url>
<notifiers>
<notifier>
<type>mail</type>
@@ -122,23 +122,6 @@
</archive>
</configuration>
</plugin>
- <!-- EMMA for code coverage -->
- <!--
- Commented out until we have this working properly
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>emma-maven-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <inherited>true</inherited>
- <executions>
- <execution>
- <goals>
- <goal>instrument</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
@@ -167,14 +150,6 @@
<!-- This seems to fail in some cases on 2.3 as well, disable for now -->
<redirectTestOutputToFile>false</redirectTestOutputToFile>
<reportFormat>xml</reportFormat>
- <!--
- Commented out until we have this working properly
-
<classesDirectory>${project.build.directory}/emma-classes</classesDirectory>
- -->
- <!--
- <parallel>true</parallel>
- <threadCount>20</threadCount>
- -->
</configuration>
</plugin>
@@ -280,15 +255,6 @@
<xmlOutputDirectory>target</xmlOutputDirectory>
</configuration>
</plugin>
-<!-- EMMA report -->
-<!--
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>emma-maven-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <inherited>true</inherited>
- </plugin>
--->
</plugins>
</reporting>
<properties>
@@ -358,6 +324,70 @@
<!-- Profiles, used for test permutations -->
<profiles>
<profile>
+ <!-- EMMA for code coverage -->
+ <id>codeCoverage</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>emma-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <goals>
+ <goal>instrument</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- override the surefire plugin with this stuff -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.3</version>
+ <inherited>true</inherited>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>bind.address</name>
+ <value>127.0.0.1</value>
+ </property>
+ <property>
+ <name>jgroups.stack</name>
+ <value>udp</value>
+ </property>
+ <property>
+ <name>java.net.preferIPv4Stack</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ <groups>${defaultTestGroup}</groups>
+ <forkMode>always</forkMode>
+ <!-- increasing JVM heap size -->
+ <argLine>-Xmx1024M</argLine>
+ <!-- Warning, this does not work right on 2.4-SNAPSHOT, (see SUREFIRE-349)
-->
+ <!-- This seems to fail in some cases on 2.3 as well, disable for now -->
+ <redirectTestOutputToFile>false</redirectTestOutputToFile>
+ <reportFormat>xml</reportFormat>
+ <classesDirectory>${project.build.directory}/emma-classes</classesDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <!-- EMMA report -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>emma-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <inherited>true</inherited>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ <profile>
<id>jgroups-tcp</id>
<build>
<plugins>