我如何更改Maven中的应用程序引擎用户名/凭据? [英] How can I change a app-engine username/credentials in Maven?

查看:123
本文介绍了我如何更改Maven中的应用程序引擎用户名/凭据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Google帐户(在进行mvn appengine更新时进入maven)开发应用程序引擎。
我现在需要使用一个不同的谷歌帐户,试图上传项目给访问错误,因为Maven正在缓存用户令牌和我的凭证。



如何切换用户?

解决方案

如果您使用的是Windows,请在C:/ Users / whicheverUserIsYou 。你应该找到一个名为.appcfg_oauth2_tokens_java的文件。



如果你在Linux上:该文件实际上是〜/ .appcfg_oauth2_tokens_java



这是包含您的凭据的文件。删除/重命名它,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?

解决方案

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 :)

这篇关于我如何更改Maven中的应用程序引擎用户名/凭据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆