➜ 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)
答案 0 :(得分:1)
使用的Graphiti版本已存档,因此您需要更新位置。 通过编辑org.activiti.designer.parent pom.xml并将graphiti-site更改为:http://archive.eclipse.org/graphiti/updates/0.11.4
,可以轻松完成此操作根pom现在将编译。 希望这可以帮助, 格雷格