<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 6/19/2015 6:24 AM, John wrote:<br>
    </div>
    <blockquote
cite="mid:CAKfisZfaWHr=oRPy-0HUa3N_D=Qq=rDUsPtH4PpnE2dTCgkAxA@mail.gmail.com"
      type="cite">
      <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)">"-Dmaven.test.skip=true"</span>&nbsp;
        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>
        </div>
      </div>
    </blockquote>
    Or use the Enforcer plugin to mandate proper Maven version.<br>
    <blockquote
cite="mid:CAKfisZfaWHr=oRPy-0HUa3N_D=Qq=rDUsPtH4PpnE2dTCgkAxA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><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 moz-do-not-send="true"
                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&nbsp; <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: "linux", version: "3.13.0-55-generic", arch:
                "amd64", family: "unix"
                <div>
                  <div class="h5"><br>
                    <br>
                    <br>
                    <br>
                    On Thu, Jun 18, 2015 at 7:39 PM, Stian Thorgersen
                    &lt;<a moz-do-not-send="true"
                      href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;
                    wrote:<br>
                    &gt; What are the exact commands you're running?<br>
                    &gt;<br>
                    &gt; ----- Original Message -----<br>
                    &gt;&gt; From: "John" &lt;<a moz-do-not-send="true"
                      href="mailto:vainnkiitta@gmail.com"
                      target="_blank">vainnkiitta@gmail.com</a>&gt;<br>
                    &gt;&gt; To: <a moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      href="mailto:keycloak-dev@lists.jboss.org"
                      target="_blank">keycloak-dev@lists.jboss.org</a><br>
                    &gt;&gt; <a moz-do-not-send="true"
                      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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>