Author: richard.opalka(a)jboss.com
Date: 2008-09-05 03:36:25 -0400 (Fri, 05 Sep 2008)
New Revision: 8161
Modified:
stack/metro/trunk/modules/testsuite/pom.xml
Log:
propagate jboss.server.instance JVM property to the tests
Modified: stack/metro/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/metro/trunk/modules/testsuite/pom.xml 2008-09-05 07:32:42 UTC (rev 8160)
+++ stack/metro/trunk/modules/testsuite/pom.xml 2008-09-05 07:36:25 UTC (rev 8161)
@@ -164,6 +164,10 @@
<failIfNoTests>false</failIfNoTests>
<systemProperties>
<property>
+ <name>jboss.server.instance</name>
+ <value>${jboss.server.instance}</value>
+ </property>
+ <property>
<name>java.naming.provider.url</name>
<value>jnp://${jboss.bind.address}:1099</value>
</property>
@@ -527,13 +531,13 @@
</plugins>
</build>
</profile>
-
- <!--
+
+ <!--
Name: no-jboss-bind-address
Descr: Set the default jboss.bind.address
-
+
command line cannot overwrite pom properties
-
http://jira.codehaus.org/browse/MNG-3546
+
http://jira.codehaus.org/browse/MNG-3546
-->
<profile>
<id>no-jboss-bind-address</id>
@@ -546,6 +550,25 @@
<jboss.bind.address>localhost</jboss.bind.address>
</properties>
</profile>
+
+ <!--
+ Name: no-jboss-server-instance
+ Descr: Set the default jboss.server.instance
+
+ command line cannot overwrite pom properties
+
http://jira.codehaus.org/browse/MNG-3546
+ -->
+ <profile>
+ <id>no-jboss-server-instance</id>
+ <activation>
+ <property>
+ <name>!jboss.server.instance</name>
+ </property>
+ </activation>
+ <properties>
+ <jboss.server.instance>default</jboss.server.instance>
+ </properties>
+ </profile>
</profiles>
</project>