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