The release procedure itself is such that if build failed during release,
the release could not be completed, therefore tag 1.5.0.Final is guaranteed
to build.
Try this:
git checkout 1.5.0.Final
mvn clean install -Pdistribution
Also consider using -DskipTests if you don't mind about tests failing, and
are only interested in producing distribution without waiting for tests.
On Thu, Oct 1, 2015 at 11:11 AM, Chen Keong Yap <chenkeong.yap(a)izeno.com>
wrote:
hi marko,
i was compiling keycloak 1.5 final source code using command --> mvn
install -Pdistribution
On Thu, Oct 1, 2015 at 5:09 PM, Marko Strukelj <mstrukel(a)redhat.com>
wrote:
> Latest master builds fine. As a matter of fact I have never seen the
> error you get.
>
> Are you building the latest master or something else? What does your
> build command look like?
>
>
> On Thu, Oct 1, 2015 at 9:10 AM, Chen Keong Yap <chenkeong.yap(a)izeno.com>
> wrote:
>
>> Hi Guys,
>>
>> Running into an issue when compiling the source code, can share how to
>> resolve it?
>>
>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.262
>> sec <<< FAILURE! - in
>> org.keycloak.subsystem.server.extension.SubsystemParsingTestCase
>> testSubsystem(org.keycloak.subsystem.server.extension.SubsystemParsingTestCase)
>> Time elapsed: 0.683 sec <<< ERROR!
>> java.lang.Exception: java.lang.ExceptionInInitializerError
>> at
>>
org.jboss.as.model.test.ModelTestModelControllerService.boot(ModelTestModelControllerService.java:329)
>> at
>>
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:308)
>> at
>>
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:271)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.lang.ExceptionInInitializerError: null
>> at
>>
org.keycloak.subsystem.server.extension.KeycloakExtension.initialize(KeycloakExtension.java:69)
>> at
>>
org.jboss.as.subsystem.test.TestModelControllerService.preBoot(TestModelControllerService.java:134)
>> at
>>
org.jboss.as.model.test.ModelTestModelControllerService.boot(ModelTestModelControllerService.java:316)
>> at
>>
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:308)
>> at
>>
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:271)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.lang.IllegalArgumentException: Invalid logger interface
>> org.keycloak.subsystem.server.logging.KeycloakLogger (implementation not
>> found in sun.misc.Launcher$AppClassLoade
>> r@42a57993)
>> at org.jboss.logging.Logger$1.run(Logger.java:2254)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at org.jboss.logging.Logger.getMessageLogger(Logger.java:2227)
>> at org.jboss.logging.Logger.getMessageLogger(Logger.java:2214)
>> at
>>
org.keycloak.subsystem.server.logging.KeycloakLogger.<clinit>(KeycloakLogger.java:38)
>> at org.keycloak.subsystem.server.ex
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
--
Best regards, CK Yap
Technology Consultant [image: iZeno Pte Ltd] <
http://www.izeno.com/> *iZeno
Pte Ltd* | 72 Bendemeer Road Luzerne #05-28 Singapore 339941
M (65) 90666701 | T (65) 6100 2788 |
www.izeno.com [image:
facebook] <
https://www.facebook.com/iZenoPL> Oracle Certified
Professional (OCP) | PSMB Certified Train The Trainer [image: iZeno Pte
Ltd] <
http://www.izeno.com/> This communication contains information
which may be confidential or privileged. The information is intended solely
for the use of the individual or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying, distribution or
use of the contents of this information is prohibited. If you have received
this communication in error, please notify me by telephone immediately.