[jbosscache-commits] JBoss Cache SVN: r4445 - support/trunk/common.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Sep 5 16:21:04 EDT 2007


Author: jason.greene at jboss.com
Date: 2007-09-05 16:21:04 -0400 (Wed, 05 Sep 2007)
New Revision: 4445

Modified:
   support/trunk/common/pom.xml
Log:
Introduce test profiles


Modified: support/trunk/common/pom.xml
===================================================================
--- support/trunk/common/pom.xml	2007-08-28 14:40:21 UTC (rev 4444)
+++ support/trunk/common/pom.xml	2007-09-05 20:21:04 UTC (rev 4445)
@@ -147,8 +147,8 @@
                       <name>jgroups.stack</name>
                       <value>udp</value>
                     </property>
+                  </systemProperties>
                   <groups>functional</groups>
-                  </systemProperties>
                   <forkMode>always</forkMode>
 
                   <!-- Warning, this does not work right on 2.4-SNAPSHOT, (see SUREFIRE-349) -->
@@ -322,5 +322,33 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
-
+    
+    <!-- Profiles, used for test permutations -->
+    <profiles>
+      <profile>
+        <id>jgroups-tcp</id>
+        <build>
+          <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                  <systemProperties>
+                    <property>
+                      <name>bind.address</name>
+                      <value>127.0.0.1</value>
+                    </property>
+                    <property>
+                      <name>jgroups.stack</name>
+                      <value>tcp</value>
+                    </property>
+                  </systemProperties>
+                  <groups>jgroups</groups>
+                  <reportsDirectory>${project.build.directory}/jgroups-tcp-reports</reportsDirectory>
+                </configuration>
+            </plugin>
+          </plugins>
+        </build>
+      </profile>
+    </profiles>
 </project>




More information about the jbosscache-commits mailing list