Hi many thanks for your help,
Im not sure its a typo in the cargo property name as it is getting picked up (shown in the wildfly logs)
The specific properties are:
<jboss.host>localhost</jboss.host>
<jboss.port>82</jboss.port>
<jboss.jvmargs>-ms512m -mx2G</jboss.jvmargs>
The plugin is defined as:
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<configuration>
<skip>${build.skip.cargo}</skip>
<container>
<containerId>wildfly8x</containerId>
<timeout>720000</timeout>
<zipUrlInstaller>
<url>
http://download.jboss.org/wildfly/8.2.0.Final/wildfly-8.2.0.Final.zip</url>
</zipUrlInstaller>
<dependencies>
<dependency>
<groupId>com.microsoft.sqlserver.jdbc</groupId>
<artifactId>sqljdbc4</artifactId>
</dependency>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
</dependency>
</dependencies>
</container>
<configuration>
<type>standalone</type>
<files>
<copy>
<file>${basedir}/target/test-classes/standalone.xml</file>
<tofile>configuration/standalone.xml</tofile>
<configfile>true</configfile>
<overwrite>true</overwrite>
</copy>
</files>
<properties>
<cargo.jvmargs>${jboss.jvmargs}</cargo.jvmargs>
<cargo.jboss.ajp.port>18009</cargo.jboss.ajp.port>
<cargo.servlet.port>${jboss.port}</cargo.servlet.port>
<cargo.logging>high</cargo.logging>
</properties>
</configuration>
</configuration>
<executions>
<execution>
<id>start-jboss</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
<configuration>
<deployer>
<type>installed</type>
</deployer>
<deployables>
<deployable>
<groupId>${project.groupId}</groupId>
<artifactId>${war.artifact}</artifactId>
<type>war</type>
<pingURL>http://${jboss.host}:${jboss.port}/${webapp.contextroot}/${war.ping.url}</pingURL>
<pingTimeout>120000</pingTimeout>
</deployable>
</deployables>
</configuration>
</execution>
<execution>
<id>default-cli</id>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>stop-jboss</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>