1 错误信息
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] [ERROR] The project org.springframework.roo:org.springframework.roo.root:1.2.4 .BUILD-SNAPSHOT (D:\GitHub\spring-roo\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.springframework.build.aws: org.springframework.build.aws.maven:3.1.0.RELEASE or one of its dependencies cou ld not be resolved: Could not find artifact org.springframework.build.aws:org.sp ringframework.build.aws.maven:jar:3.1.0.RELEASE in nexus (http://localhost:8081/ nexus/content/groups/public/) -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin gException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti onException
2 删除maven本地仓库中下面目录
D:\Java\maven\repository\repository\org\springframework\build\aws\org.springframework.build.aws.maven\3.1.0.RELEASE
中的org.springframework.build.aws.maven-3.1.0.RELEASE.jar.lastUpdated和org.springframework.build.aws.maven-3.1.0.RELEASE.pom.lastUpdated文件
然后到这个网站
http://repo.springsource.org/release/org/springframework/build/aws/org.springframework.build.aws.maven/3.1.0.RELEASE/
下载org.springframework.build.aws.maven-3.1.0.RELEASE.jar和org.springframework.build.aws.maven-3.1.0.RELEASE.pom两个文件
再次运行mvn clean install
又报错
[INFO] Total time: 2:36.234s
[INFO] Finished at: Wed Mar 27 18:30:52 CST 2013 [INFO] Final Memory: 17M/40M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.3:sig n (sign-artifacts) on project org.springframework.roo.root: Exit code: 2 -> [Hel p 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE xception
安装GPG
然后执行gpg --gen-key
D:\GitHub\spring-roo>gpg --gen-key
注意目录!!!!
根据提示完成安装key
然后再次运行构建命令
然后就是漫长的签名等待....为什么漫长啊?