Author: asoldano
Date: 2015-03-16 10:20:35 -0400 (Mon, 16 Mar 2015)
New Revision: 19574
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
stack/cxf/trunk/pom.xml
Log:
[JBWS-3886] Add option for easily testing with IPv6
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2015-03-16 11:16:54 UTC (rev 19573)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2015-03-16 14:20:35 UTC (rev 19574)
@@ -284,7 +284,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>${surefire.jvm.args} ${surefire.jvm.management.args}
${surefire.default-mgmt-serurity.args}
-Djava.endorsed.dirs=${project.build.directory}/endorsed</argLine>
+ <argLine>${surefire.jvm.args} ${surefire.jvm.management.args}
${surefire.default-mgmt-serurity.args} ${ipVerArgs}
-Djava.endorsed.dirs=${project.build.directory}/endorsed</argLine>
<skip>true</skip>
<failIfNoTests>false</failIfNoTests>
<runOrder>alphabetical</runOrder>
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2015-03-16 11:16:54 UTC (rev 19573)
+++ stack/cxf/trunk/pom.xml 2015-03-16 14:20:35 UTC (rev 19574)
@@ -1363,6 +1363,28 @@
<!-- Profiles -->
<profiles>
+ <profile>
+ <id>ipv6</id>
+ <activation>
+ <property>
+ <name>ipv6</name>
+ </property>
+ </activation>
+ <properties>
+ <ipVerArgs>-Djava.net.preferIPv4Stack=false
-Djava.net.preferIPv6Addresses=true</ipVerArgs>
+ </properties>
+ </profile>
+ <profile>
+ <id>ipv4</id>
+ <activation>
+ <property>
+ <name>!ipv6</name>
+ </property>
+ </activation>
+ <properties>
+ <ipVerArgs>-Djava.net.preferIPv4Stack=true
-Djava.net.preferIPv6Addresses=false</ipVerArgs>
+ </properties>
+ </profile>
<!--
Name: wildfly800
@@ -1374,7 +1396,7 @@
<jbossws.integration.target>wildfly800</jbossws.integration.target>
<jboss.home>${server.home}</jboss.home>
<jboss.version>${wildfly800.version}</jboss.version>
-
<additionalJvmArgs>-Djavax.wsdl.factory.WSDLFactory=com.ibm.wsdl.factory.WSDLFactoryImpl</additionalJvmArgs>
+
<additionalJvmArgs>-Djavax.wsdl.factory.WSDLFactory=com.ibm.wsdl.factory.WSDLFactoryImpl
${ipVerArgs}</additionalJvmArgs>
</properties>
<modules>
<module>modules/dist</module>
@@ -1392,7 +1414,7 @@
<jbossws.integration.target>wildfly810</jbossws.integration.target>
<jboss.home>${server.home}</jboss.home>
<jboss.version>${wildfly810.version}</jboss.version>
-
<additionalJvmArgs>-Djavax.wsdl.factory.WSDLFactory=com.ibm.wsdl.factory.WSDLFactoryImpl</additionalJvmArgs>
+
<additionalJvmArgs>-Djavax.wsdl.factory.WSDLFactory=com.ibm.wsdl.factory.WSDLFactoryImpl
${ipVerArgs}</additionalJvmArgs>
</properties>
<modules>
<module>modules/dist</module>
@@ -1410,7 +1432,7 @@
<jbossws.integration.target>wildfly820</jbossws.integration.target>
<jboss.home>${server.home}</jboss.home>
<jboss.version>${wildfly820.version}</jboss.version>
-
<additionalJvmArgs>-Djavax.wsdl.factory.WSDLFactory=com.ibm.wsdl.factory.WSDLFactoryImpl</additionalJvmArgs>
+
<additionalJvmArgs>-Djavax.wsdl.factory.WSDLFactory=com.ibm.wsdl.factory.WSDLFactoryImpl
${ipVerArgs}</additionalJvmArgs>
</properties>
<modules>
<module>modules/dist</module>
@@ -1428,7 +1450,7 @@
<jbossws.integration.target>wildfly900</jbossws.integration.target>
<jboss.home>${server.home}</jboss.home>
<jboss.version>${wildfly900.version}</jboss.version>
- <additionalJvmArgs></additionalJvmArgs>
+ <additionalJvmArgs>${ipVerArgs}</additionalJvmArgs>
</properties>
<modules>
<module>modules/dist</module>
Show replies by date