Author: thomas.diesler(a)jboss.com
Date: 2008-05-07 09:39:33 -0400 (Wed, 07 May 2008)
New Revision: 6937
Modified:
stack/native/trunk/modules/testsuite/pom.xml
Log:
add debug profile
Modified: stack/native/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/pom.xml 2008-05-07 13:14:20 UTC (rev 6936)
+++ stack/native/trunk/modules/testsuite/pom.xml 2008-05-07 13:39:33 UTC (rev 6937)
@@ -16,7 +16,6 @@
<!-- Properties -->
<properties>
- <surefire.jdpw.args>-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</surefire.jdpw.args>
<surefire.jvm.args>-Djava.security.manager
-Djava.security.policy=src/test/etc/tst.policy</surefire.jvm.args>
</properties>
@@ -112,7 +111,6 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${surefire.jvm.args}</argLine>
- <!--argLine>${surefire.jdpw.args}</argLine-->
<systemProperties>
<property>
<name>build.testlog</name>
@@ -156,6 +154,24 @@
<profiles>
<!--
+ Name: debug
+ Descr: Enable remote debuging for tests
+ -->
+ <profile>
+ <id>debug</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!--
Name: hudson
Descr: Ignore test failures on hudson
-->
Show replies by date