【问题标题】:Maven Error in Eclipse - BPMN2 ModelerEclipse 中的 Maven 错误 - BPMN2 建模器
【发布时间】:2014-01-25 12:08:28
【问题描述】:

我的问题如下。我有 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/。有谁知道错误并可以帮助我吗?

最好的问候

【问题讨论】:

标签: eclipse maven jarsigner


【解决方案1】:

您的错误消息的第一行包含http://build.eclipse.org:31338 的超时 - 在我看来这是一个内部地址。

如果我没记错的话,这是由构建脚本中提到的 jar 签名插件使用的,它是一个 eclipse.org 专用服务(出于显而易见的原因)。搜索关注我

  <groupId>org.eclipse.cbi.maven.plugins</groupId>
  <artifactId>eclipse-jarsigner-plugin</artifactId>

由于签名是一项内部服务,我们在 EMF-IncQuery 项目中仅在选择特定配置文件时执行签名,从而允许在 eclipse.org 服务器之外构建我们的项目。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-12-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-11
    相关资源
    最近更新 更多