GoogleCloudPlatform / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
19 stars 21 forks source link

-Drun.profiles ignored during mvn appengine:deploy #88

Open mr-smithers-excellent opened 6 years ago

mr-smithers-excellent commented 6 years ago

While running the following deploy command, the dev profile passed in via -Drun.profiles is ignored. Is there another approach that should be used to override the Spring profile during a deploy?

mvn -Drun.profiles=dev \
appengine:deploy \
-DskipTests \
-Dapp.deploy.project=$DEV_PROJECT_ID \
-Dapp.stage.appEngineDirectory=src/main/appengine/dev \
-Dapp.deploy.version=${GIT_SHA} \
-Dapp.deploy.stopPreviousVersion=true