I have trouble deploying a large war file to a remote JBoss server using the cargo-maven2 plugin from an other server.
This feature work's fine with a small war file (~ 5kb), but when i use it with a real life war file (~10 mb), nothing happens after more than 40 minutes, perhaps a concurrency problem !
I think that the problem come from the implementation of the embdeded Web server (included in the 1.0.3 of Cargo to allow uploading a file to the remote server).
My collegue Cedric Ghanassia has submited a patch that implements the upload feature to a remote JBoss application server using an embeded Jetty Server.
I think that's a good idea to include a robust http server like Jetty, because implementing a http server from scratch is not very easy.