Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change a app-engine username/credentials in Maven?

I worked on app-engine with a google account (entered to maven when doing mvn appengine:update). I now need to work with a different google account, trying to upload the project give an access error because Maven is caching the user token and my credentials..

How can I switch user?

like image 967
Amit Bens Avatar asked Feb 05 '15 08:02

Amit Bens


1 Answers

If you're on Windows : Go in your "C:/Users/whicheverUserIsYou". You should find a file called ".appcfg_oauth2_tokens_java".

If you're on Linux : the file is in fact "~/.appcfg_oauth2_tokens_java"

This is the file containing your credentials. Delete/Rename it, maven will ask for your credentials again :)

like image 156
Patrice Avatar answered Oct 29 '22 12:10

Patrice