AnsweredAssumed Answered

Activiti Designer - build failures

Question asked by kuldeept on Jul 7, 2016
Latest reply on Jul 20, 2016 by kuldeept
Hi Experts,
           Trying to build activiti designer(5.18.1) from source(https://github.com/Activiti/Activiti-Designer), but hitting this issue:


[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)
   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
   at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
   at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
   at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'Graphiti' from location http://download.eclipse.org/graphiti/updates/0.11.4


The page on http://download.eclipse.org/graphiti/updates/0.11.4 says that the update site has been moved to archive, so I tried setting the update site for graphiti to http://archive.eclipse.org/graphiti/updates/0.11.4, but getting a NPE during the build later on:


[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://archive.eclipse.org/graphiti/updates/0.11.4
[INFO] Resolving dependencies of MavenProject: org.activiti.designer:org.activiti.designer.libs:5.18.1-SNAPSHOT @ /Users/ktewari/git/Activiti-Designer/org.activiti.designer.libs/pom.xml
[INFO] Resolving class path of MavenProject: org.activiti.designer:org.activiti.designer.libs:5.18.1-SNAPSHOT @ /Users/ktewari/git/Activiti-Designer/org.activiti.designer.libs/pom.xml
[INFO] Computing target platform for MavenProject: org.activiti.designer:org.activiti.designer.eclipse:5.18.1-SNAPSHOT @ /Users/ktewari/git/Activiti-Designer/org.activiti.designer.eclipse/pom.xml
[INFO] Resolving dependencies of MavenProject: org.activiti.designer:org.activiti.designer.eclipse:5.18.1-SNAPSHOT @ /Users/ktewari/git/Activiti-Designer/org.activiti.designer.eclipse/pom.xml
[INFO] Fetching &protocol=http&format=xml&countryCode=us&timeZone=-5&format=xml from http://www.eclipse.org/downloads/download.php?file=/graphiti/updates/0.11.4/ (0B at 0B/s)
[INFO] Fetching org.eclipse.graphiti_0.11.4.v20150701-1432.jar.pack.gz from http://archive.eclipse.org/graphiti/updates/0.11.4/plugins/ (0B of 83.9kB at 0B/s)
[INFO] Fetching org.eclipse.graphiti.pattern_0.11.4.v20150701-1432.jar.pack.gz from http://archive.eclipse.org/graphiti/updates/0.11.4/plugins/ (0B of 23.67kB at 0B/s)
[ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)
   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)


Is there any document/wiki detailing the steps to build the activiti designer from source?

Any help would be appreciated.

Outcomes