1) Staging the project with the maven plugin:
2) Deploy the staged directory directly with gcloud
gcloud --quiet --log-http --verbosity debug app deploy "$staging_directory/app.yaml" --version $version --project $project
If you need to display http logs and verbosity debug for testing, you can use this method (and you can wrap both commands in a single script)