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>
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.
精彩评论