app staging using maven

90 views Asked by At

I am building my war folder using

mvn clean install

And I am deploying the project using :

gcloud preview app deploy /{PATH}/appengine-staging/app.yaml  /{PATH}/appengine-staging/index.yaml /{PATH}/appengine-staging/cron.yaml --version=version-7 --project=project1-test

The previous two steps requires the Staging yaml files using

appengine-java-sdk/bin/appcfg.sh stage <WAR-dir> <yaml-dir> 

is there any way to do the staging step (without deploying ) using maven ?

1

There are 1 answers

0
Les Vogel On

Take a look at the recently released appengine-maven-plugin. You probably wish to use:

mvn clean package appengine:stage