插件不存在或找不到有效版本错误
我已经下载了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.