<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>
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"><<a moz-do-not-send="true"
href="mailto:vainnkiitta@gmail.com" target="_blank">vainnkiitta@gmail.com</a>></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: "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
<<a moz-do-not-send="true"
href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>>
wrote:<br>
> What are the exact commands you're running?<br>
><br>
> ----- Original Message -----<br>
>> From: "John" <<a moz-do-not-send="true"
href="mailto:vainnkiitta@gmail.com"
target="_blank">vainnkiitta@gmail.com</a>><br>
>> To: <a moz-do-not-send="true"
href="mailto:keycloak-dev@lists.jboss.org"
target="_blank">keycloak-dev@lists.jboss.org</a><br>
>> Sent: Thursday, 18 June, 2015 3:47:13 PM<br>
>> Subject: [keycloak-dev] Error while
building Keycloak 1.3.1 sources.<br>
>><br>
>> Hi All,<br>
>><br>
>> I have downloaded source of keycloak 1.3.1
ver.<br>
>><br>
>> I am doing mvn install but getting
following error.<br>
>><br>
>> [INFO]<br>
>>
------------------------------------------------------------------------<br>
>> [INFO] BUILD FAILURE<br>
>> [INFO]<br>
>>
------------------------------------------------------------------------<br>
>> [INFO] Total time: 45.121s<br>
>> [INFO] Finished at: Thu Jun 18 19:02:12 IST
2015<br>
>> [INFO] Final Memory: 215M/865M<br>
>> [INFO]<br>
>>
------------------------------------------------------------------------<br>
>> [ERROR] Failed to execute goal on project<br>
>> keycloak-testsuite-security-proxy: Could
not resolve dependencies for<br>
>> project
org.keycloak:keycloak-testsuite-security-proxy:jar:1.3.1.Final:<br>
>> Could not find artifact<br>
>>
org.keycloak:keycloak-testsuite-integration:jar:tests:1.3.1.Final
in<br>
>> jboss-earlyaccess-repository<br>
>> (<a moz-do-not-send="true"
href="http://maven.repository.redhat.com/earlyaccess/all/"
target="_blank">http://maven.repository.redhat.com/earlyaccess/all/</a>)
-> [Help 1]<br>
>><br>
>> Any help appreciated.<br>
>><br>
>> Thanks,<br>
>> John<br>
>>
_______________________________________________<br>
>> keycloak-dev mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:keycloak-dev@lists.jboss.org"
target="_blank">keycloak-dev@lists.jboss.org</a><br>
>> <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>
>><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>