This sample displays what's going on in your app. It dumps the environment and lots more.
See the Google App Engine standard environment documentation for more detailed instructions.
Use either:
gcloud init
gcloud auth application-default login
gcloud components update
NOTE - There is no local Metadata server, so local running isn't available. It is possible to setup an Emulator.
$ mvn appengine:deploy