[keycloak-user] Maven compile Alpha 1.3

Marek Posolda mposolda at redhat.com
Fri Mar 14 04:47:30 EDT 2014


Hi Davide,

can you try first to run "mvn clean install" for whole project and then 
"mvn war:war" after that?

The point is that "install" will add artifacts to your local maven repo, 
so they will be able to find dependencies between each other. I think 
that "compile" is not sufficient as it just compile classes, but not 
create JAR and not copy them to your local repo.

Good luck,
Marek

On 14.3.2014 01:05, Davide Ungari wrote:
> Hi everybody,
> I did checkout of the 1.0-alpha-3.
> I'm trying to do a  mvn compile war:war and it fails for:
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile 
> (default-compile) on project keycloak-model-api: Compilation failure: 
> Compilation failure:
> [ERROR] 
> /home/davide/projects/keycloak/model/api/src/main/java/org/keycloak/models/utils/KeycloakModelUtils.java:[14,24] 
> error: package org.keycloak.util does not exist
> [ERROR]
> [ERROR] 
> /home/davide/projects/keycloak/model/api/src/main/java/org/keycloak/models/utils/KeycloakModelUtils.java:[35,23] 
> error: cannot find symbol
> [ERROR]
> [ERROR] class KeycloakModelUtils
> [ERROR] 
> /home/davide/projects/keycloak/model/api/src/main/java/org/keycloak/models/utils/KeycloakModelUtils.java:[47,23] 
> error: cannot find symbol
> [ERROR]
> [ERROR] class KeycloakModelUtils
> [ERROR] 
> /home/davide/projects/keycloak/model/api/src/main/java/org/keycloak/models/utils/KeycloakModelUtils.java:[65,15] 
> error: cannot find symbol
> [ERROR] -> [Help 1]
> [ERROR]
>
> Any help?
>
> --
> Davide
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140314/5a8a7dd7/attachment.html 


More information about the keycloak-user mailing list