activiti-designer-5.18.0 mvn包错了

时间:2016-12-28 04:55:07

标签: activiti

我检查了activiti-designer-5.18.0标签和mvn包的错误,似乎是http://download.eclipse.org/graphiti/updates/0.11.4。无法找到。我可以解决这个问题。控制台是打击:

➜  Activiti-Designer-activiti-designer-5.18.0 mvn package
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.activiti.designer:org.activiti.designer.libs:5.18.0-SNAPSHOT @ /Users/qk/Downloads/Activiti-Designer-activiti-designer-5.18.0/org.activiti.designer.libs/pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/luna/ (0B at 0B/s)
[INFO] Adding repository http://download.eclipse.org/releases/luna
[INFO] Fetching p2.index from http://download.eclipse.org/releases/luna/201406250900/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/luna/201409261001/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/luna/201501121000/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/luna/201502271000/ (0B at 0B/s)
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.11.4
[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'Graphiti' from location http://download.eclipse.org/graphiti/updates/0.11.4: No repository found at http://download.eclipse.org/graphiti/updates/0.11.4. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'Graphiti' from location http://download.eclipse.org/graphiti/updates/0.11.4
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)

1 个答案:

答案 0 :(得分:1)

使用的Graphiti版本已存档,因此您需要更新位置。 通过编辑org.activiti.designer.parent pom.xml并将graphiti-site更改为:http://archive.eclipse.org/graphiti/updates/0.11.4

,可以轻松完成此操作

根pom现在将编译。 希望这可以帮助, 格雷格