[keycloak-dev] Error while building Keycloak 1.3.1 sources.

Stian Thorgersen stian at redhat.com
Tue Jun 23 11:09:48 EDT 2015


Enforcer plugin looks like the way to go, but maybe we don't need to set it to 3.3.3? If it works on 3.1.x for others.

My personal preference would just say go with Maven 3.3.x, but are there anyone that objects to that?

----- Original Message -----
> From: "Stan Silvert" <ssilvert at redhat.com>
> To: keycloak-dev at lists.jboss.org
> Sent: Saturday, 20 June, 2015 12:19:46 AM
> Subject: Re: [keycloak-dev] Error while building Keycloak 1.3.1 sources.
> 
> On 6/19/2015 7:58 AM, Stan Silvert wrote:
> 
> 
> 
> On 6/19/2015 6:24 AM, John wrote:
> 
> 
> 
> Hi,
> 
> After spending hours finally manged to get this working.
> There were two issue found.
> 
> 1) For the first time run mvn install without skipping tests
> "-Dmaven.test.skip=true" Later on you may skip tests
> 
> 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.
> Or use the Enforcer plugin to mandate proper Maven version.
> This will ensure nobody runs into that problem again:
> https://github.com/keycloak/keycloak/pull/1407
> 
> 
> 
> 
> 
> 
> Thanks,
> John
> 
> 
> On Thu, Jun 18, 2015 at 8:03 PM, John < vainnkiitta at 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 at redhat.com > wrote:
> > What are the exact commands you're running?
> > 
> > ----- Original Message -----
> >> From: "John" < vainnkiitta at gmail.com >
> >> To: keycloak-dev at 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 at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >> 
> 
> 
> 
> _______________________________________________
> keycloak-dev mailing list keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> 
> _______________________________________________
> keycloak-dev mailing list keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev


More information about the keycloak-dev mailing list