Author: chris.laprun(a)jboss.com
Date: 2010-06-18 09:25:58 -0400 (Fri, 18 Jun 2010)
New Revision: 3384
Modified:
components/wsrp/trunk/wsrp-producer-war/pom.xml
Log:
- Added cargo-debug profile that can be activated to remotely attach a debugger to the
cargo instance to debug the tests.
- Added possibility of skipping integration tests with maven.test.skip.
Modified: components/wsrp/trunk/wsrp-producer-war/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/pom.xml 2010-06-18 13:21:41 UTC (rev 3383)
+++ components/wsrp/trunk/wsrp-producer-war/pom.xml 2010-06-18 13:25:58 UTC (rev 3384)
@@ -35,6 +35,29 @@
<packaging>war</packaging>
<name>GateIn WSRP Producer WAR</name>
+ <profiles>
+ <profile>
+ <id>cargo-debug</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>1.0.1</version>
+ <configuration>
+ <configuration>
+ <properties>
+ <cargo.jvmargs>
+ <![CDATA[-Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y]]></cargo.jvmargs>
+ </properties>
+ </configuration>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<dependencies>
<dependency>
<groupId>org.gatein.wsrp</groupId>
@@ -293,7 +316,7 @@
<goal>test</goal>
</goals>
<configuration>
- <skip>false</skip>
+ <skip>${maven.test.skip}</skip>
<includes>
<include>org/gatein/wsrp/protocol/v1/MarkupTestCase.class</include>
<include>org/gatein/wsrp/protocol/v1/PortletManagementTestCase.class</include>
@@ -367,5 +390,4 @@
</testResource>
</testResources>
</build>
-
</project>