It seems that in the latest versions of the GAE Maven plugin, it has improved (there is no need for appcfg). It is enough to call:
mvn clean appengine:update
if not ~ / .appcfg_oauth2_tokens_java, it will appear in your browser and ask for credentials for your Google account. After successful authentication, you are given the OAuth2 token. Paste it into the terminal window where you call mvn and you're done.
source share