<div dir="ltr"><div><div><div>Hi,<br><br></div>After spending hours finally manged to get this working.<br></div>There were two issue found.<br><br></div>1) For the first time run <span style="background-color:rgb(207,226,243)">mvn install</span> without skipping tests <span style="background-color:rgb(204,204,204)">&quot;-Dmaven.test.skip=true&quot;</span>  Later on you may skip tests<br><div class="gmail_extra"><br></div><div class="gmail_extra">2) To build distribution it needs maven version 3.3.3 else gives error<br>java.lang.ClassNotFoundException: org.eclipse.aether.RepositorySystem<br><br></div><div class="gmail_extra">Can we have documentation for building from sources.<br><br></div><div class="gmail_extra">Thanks,<br></div><div class="gmail_extra">John<br></div><div class="gmail_extra"><br><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 18, 2015 at 8:03 PM, John <span dir="ltr">&lt;<a href="mailto:vainnkiitta@gmail.com" target="_blank">vainnkiitta@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Using  <span style="background-color:rgb(204,204,204)">mvn install -Dmaven.test.skip=true</span><br><br>My maven version<br>Apache Maven 3.0.5<br>Maven home: /usr/share/maven<br>Java version: 1.7.0_79, vendor: Oracle Corporation<br>Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre<br>Default locale: en_IN, platform encoding: UTF-8<br>OS name: &quot;linux&quot;, version: &quot;3.13.0-55-generic&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot;<div><div class="h5"><br><br><br><br>On Thu, Jun 18, 2015 at 7:39 PM, Stian Thorgersen &lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt; wrote:<br>&gt; What are the exact commands you&#39;re running?<br>&gt;<br>&gt; ----- Original Message -----<br>&gt;&gt; From: &quot;John&quot; &lt;<a href="mailto:vainnkiitta@gmail.com" target="_blank">vainnkiitta@gmail.com</a>&gt;<br>&gt;&gt; To: <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>&gt;&gt; Sent: Thursday, 18 June, 2015 3:47:13 PM<br>&gt;&gt; Subject: [keycloak-dev] Error while building Keycloak 1.3.1 sources.<br>&gt;&gt;<br>&gt;&gt; Hi All,<br>&gt;&gt;<br>&gt;&gt; I have downloaded source of keycloak 1.3.1 ver.<br>&gt;&gt;<br>&gt;&gt; I am doing mvn install but getting following error.<br>&gt;&gt;<br>&gt;&gt; [INFO]<br>&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt; [INFO] BUILD FAILURE<br>&gt;&gt; [INFO]<br>&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt; [INFO] Total time: 45.121s<br>&gt;&gt; [INFO] Finished at: Thu Jun 18 19:02:12 IST 2015<br>&gt;&gt; [INFO] Final Memory: 215M/865M<br>&gt;&gt; [INFO]<br>&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt; [ERROR] Failed to execute goal on project<br>&gt;&gt; keycloak-testsuite-security-proxy: Could not resolve dependencies for<br>&gt;&gt; project org.keycloak:keycloak-testsuite-security-proxy:jar:1.3.1.Final:<br>&gt;&gt; Could not find artifact<br>&gt;&gt; org.keycloak:keycloak-testsuite-integration:jar:tests:1.3.1.Final in<br>&gt;&gt; jboss-earlyaccess-repository<br>&gt;&gt; (<a href="http://maven.repository.redhat.com/earlyaccess/all/" target="_blank">http://maven.repository.redhat.com/earlyaccess/all/</a>) -&gt; [Help 1]<br>&gt;&gt;<br>&gt;&gt; Any help appreciated.<br>&gt;&gt;<br>&gt;&gt; Thanks,<br>&gt;&gt; John<br>&gt;&gt; _______________________________________________<br>&gt;&gt; keycloak-dev mailing list<br>&gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>&gt;&gt;<br></div></div></div>
</blockquote></div><br></div></div>