mvn maven-thucydides-plugin JAR 访问被拒绝

mvn maven-thucydides-plugin JAR access denied

我在使用 Selenium + Thucydides 时工作正常,但由于某些原因,我在 运行 全新安装跳过测试时遇到了这个错误。

[WARNING] error reading C:\path.m2\repository\org\seleniumhq\selenium\selenium-server.43.1\selenium-server-2.43.1.jar; C:\path.m2\repository\org\seleniumhq\selenium\selenium-server.43.1 \selenium-server-2.43.1.jar (Access is denied)

[ERROR] Failed to execute goal net.thucydides.maven.plugins:maven-thucydides-plugin:0.9.268:aggregate (thucydides-reports) on project mdpubgui: Execution thucydides-reports of goal net.thucydides.maven.plugins:maven-thucydides- plugin:0.9.268:aggregate failed: Could not read from the JAR file:

就像插件无法访问 jar,但 jar 正确位于存储库中,并且几天前就可以工作了。

可能是因为某些 O.S 更新?非常感谢任何线索

Windows 10 行家 3 Java8

最后看来问题是 OS 的限制,我更改了 M2 设置并将存储库移动到计算机中的另一个位置,然后一切又开始工作了,所以由于某种原因 JAR 文件已锁定。