Use the FQN (Fully Qualified Name) of the maven goal.
mvn org.wildfly.plugins:wildfly-maven-plugin:deploy
Should very explicitly start the wildfly deploy goal and use the
configuration you have specified.
The goal shortcuts only works in your configured pluginGroups in
settings.xml, and as you can see it only checks 2 groups
[org.apache.maven.plugins, org.codehaus.mojo]

If your problem is that on each thread, the while loop has a different
numbers of iterations and some threads never reach the synchronization
point after exiting the loop, you could use a barrier. Check here for
an example.
However you need to decrease the number of threads at the barrier
after you exit each thread. Waiting at the barrier will end after
count number of threads reached that point.

Use http://en.wikipedia.org/wiki/Precision_Time_Protocol to
synchronize clocks on all machines.
Create a master process, run as UDP client.
All slave processes run as UDP servers.
A slave process sends "ready" packet to the master.
Once all slaves are ready, the master sends out a UDP broadcast
message to all slaves. The message contains a future (not too far,
just enough to overcome the network

You may also want to look at Rewrite, which will be the core of
PrettyFaces 4. It's more dynamic and can intercept URLs if you
require login.
http://www.ocpsoft.org/java/migrating-from-prettyfaces-to-rewrite-simplicity-meets-power/
http://www.mastertheboss.com/javaee/servlet-30/rewrite-a-java-ee-url-rewriting-solution

It's not so much a problem with JAX-RS as it is with cURL. If I run
the command with the -v switch (verbose), I'll see the request headers
C: empjbossquickstarthelloworld-rs>curl
-v
http://localhost:8080/wildfly-helloworld-rs/rest/
-H 'accept:application/xml'
* Adding handle: conn: 0x4b6208
* Adding handle: send: 0
* Adding handle: recv: 0
*