Maven Perforce 插件突然需要密码?
在我的 pom.xml 中,我有:
<scm>
<connection>scm:perforce://path_to_my_repository</connection>
</scm>
直到最近,这都工作得很好。现在,当我构建时,我收到以下消息:
"password is required for the perforce scm plugin."
插件的 Maven 文档未指定包含密码的方法 (http://maven.apache.org/scm/perforce.html)。
到底是怎么回事?我该如何克服这个问题?
In my pom.xml I have:
<scm>
<connection>scm:perforce://path_to_my_repository</connection>
</scm>
This has worked fine until recently. Now when I build I receive the following message:
"password is required for the perforce scm plugin."
The maven documentation for the plugin does not specify a way to include a password (http://maven.apache.org/scm/perforce.html).
What is going on? How to I get past this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
结果发现错误信息与问题不符。当出现问题时,需要“密码”的消息似乎是一条包罗万象的消息。我们发现该错误是由于引入了无效的依赖项而导致的。此问题已修复,输入密码的提示消失了。
It turns out that the error message did not match the problem. The 'password' needed message appears to be a catch-all message when something goes wrong. We found the error was a result of a invalid dependency that was introduced. This was fixed and the prompt for the password disappeared.
您可能使用的插件版本存在此错误 (SCM-415) 。 这个所以问题有一个相关的问题。
You could be using a version of the plugin which has this bug (SCM-415). This SO question has a related problem.