插件不存在或找不到有效版本错误

发布于 2024-09-24 08:07:18 字数 580 浏览 1 评论 0原文

我已经下载了 hudson jira API 插件的完整源代码,并尝试通过 mvn install 来构建它。 jira 插件正确构建,但是当它尝试构建 hudson 插件时,我收到错误

[INFO] 插件“org.kohsuke:access-modifier-checker”不存在或找不到有效版本。 access-modifier-checker jar 文件 (1.0) 存在于我的本地存储库中。

从多台机器上尝试过此操作,我收到了相同的错误。我也尝试用谷歌搜索这个问题,但没有成功。我有什么遗漏的吗?

编辑:我还尝试删除 .m2/repository 文件夹的内容

edit2: pom.xml 片段

    <dependency>
        <groupId>org.kohsuke</groupId>
        <artifactId>access-modifier-checker</artifactId>
        <version>1.0</version>
    </dependency>

I have downloaded the complete source of hudson jira API plugins and am trying to build it by mvn install. The jira plugin gets build properly, but when it tries to build the hudson plugin, I am getting the error

[INFO] The plugin 'org.kohsuke:access-modifier-checker' does not exist or no valid version could be found. The access-modifier-checker jar file (1.0) is present in my local repository.

Tried this from multiple machines and I am getting the same error. Also I tried to google the issue, but to no avail. Is there anything I am missing?

edit: I have also tried deleting the contents of .m2/repository folder

edit2: pom.xml snippet

    <dependency>
        <groupId>org.kohsuke</groupId>
        <artifactId>access-modifier-checker</artifactId>
        <version>1.0</version>
    </dependency>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

伤感在游骋 2024-10-01 08:07:18

JIRA 插件 jar 文件需要安装在 {jira.home}/plugins/installed-plugins(对于版本 2 插件)或 atlassian-jira/WEB-INF/lib(对于版本 1 插件)。

The JIRA plugin jar file needs to be installed in {jira.home}/plugins/installed-plugins for version 2 plugins, or atlassian-jira/WEB-INF/lib for version 1 plugins.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文