Tareq Assi
Tareq Assi

Reputation: 157

app staging using maven

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 ?

Upvotes: 0

Views: 89

Answers (1)

Les Vogel
Les Vogel

Reputation: 7132

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

mvn clean package appengine:stage

Upvotes: 0

Related Questions