How to set version when deploying gae java?

前端 未结 4 951
悲&欢浪女
悲&欢浪女 2021-01-22 06:43

Since Intellij Idea IDE gae deployment plugin does not work, I have to use mvn appengine:update. It always deploy to version 1, ignoring version in appengine-web.xm

4条回答
  •  青春惊慌失措
    2021-01-22 07:01

    Another way is, don't add anything on the app engine plugin as it is hard to changes each time the pom.xml better pass the version information from the command line, like this

    mvn clean package appengine:deploy -Dapp.deploy.version=your-version-here
    

    reference document here

提交回复
热议问题