Author: asoldano
Date: 2015-03-09 12:08:15 -0400 (Mon, 09 Mar 2015)
New Revision: 19538
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
Prevent usage of -Djboss.bind.address with -Pfast (wildfly-maven-plugin + arquillian
can't handle that)
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2015-03-09 14:16:20 UTC (rev 19537)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2015-03-09 16:08:15 UTC (rev 19538)
@@ -541,6 +541,27 @@
<runOrder>balanced</runOrder>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>checkNoBindAddress</id>
+ <phase>initialize</phase>
+ <goals><goal>run</goal></goals>
+ <configuration>
+ <tasks>
+ <fail message="'fast' profile only supports
'jboss.bind.address' property set to 'localhost'">
+ <condition>
+ <not>
+ <equals arg1="${jboss.bind.address}"
arg2="localhost"/>
+ </not>
+ </condition>
+ </fail>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
Show replies by thread