###assuming you are in the base directory
cp -rf target/ag-push JBOSS_HOME/standalone/deployments/ag-push.war
do this only if you have a server side change or the first time you deploy
touch JBOSS_HOME/standalone/deployments/ag-push.war.dodeploy