zanata/zanata-server — pull request #59 by huangp (2013-07-19 06:34:57+00:00)
Title: change to deploy war file

AS7 will give warning on exploded artifact:

16:11:21,754 WARN [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015006: The deployment scanner found that the content for exploded deployment zanata.war has been deleted, but auto-deploy/undeploy for exploded deployments is not enabled and the zanata.war.deployed marker file for this deployment has not been removed. As a result, the deployment is not being undeployed, but resources needed by the deployment may have been deleted and application errors may occur. Deleting the zanata.war.deployed marker file to trigger undeploy is recommended.

Follows error when cargo deleted old deployment. So here changed it to deploy war instead.
In fact we don't need cargo to redeploy. It has a scanner to scan war file every 5 seconds. But this is more specific.