我的问题如下。我有Eclipse Kepler SR1并从以下git中导入了一个maven项目:http://git.eclipse.org/c/bpmn2/.git/
这是BPMN 2.0的元模型。之后我想做maven安装但是当我这样做时会弹出以下错误
[ERROR] Failed to execute goal org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin:1.0.3:sign (sign) on project org.eclipse.bpmn2: Could not sign artifact org.eclipse.bpmn2:org.eclipse.bpmn2:eclipse-plugin:0.7.0-SNAPSHOT: Connection to http://build.eclipse.org:31338 refused: Connection timed out: connect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.eclipse.bpmn2
Maven已正确安装,我检查了superpom。我认为没有错。我还将插件登录的pluginRepository更新为https://repo.eclipse.org/content/repositories/cbi-releases/。有谁知道这个错误并且可以帮助我吗?
最好的问候
答案 0 :(得分:0)
错误消息的第一行包含http://build.eclipse.org:31338的超时 - 在我看来是内部地址。
如果我没弄错的话,这是由构建脚本中提到的jar签名者插件使用的,这是一个仅限eclipse.org的服务(出于显而易见的原因)。搜索followi
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
由于签名是一项内部服务,我们EMF-IncQuery项目只有在选择了特定的配置文件时才执行签名,从而允许在eclipse.org服务器之外构建我们的项目。