开发者

Maven Perforce plugin suddenly requires a password?

开发者 https://www.devze.com 2023-02-15 10:56 出处:网络
In my pom.xml I have: <scm> <connection>scm:perforce://path_to_my_开发者_开发百科repository</connection>

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?


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.


You could be using a version of the plugin which has this bug (SCM-415). This SO question has a related problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号