[keycloak-dev] "mvn install" fails on a fresh clone of Keycloak
Stian Thorgersen
sthorger at redhat.com
Mon Oct 2 08:28:47 EDT 2017
The following command
# mvn clean install
Should work. Travis runs the mentioned tests for all PRs. If it fails for
you, but not for others, it could be something specific to your environment.
On 2 October 2017 at 13:33, <carl-kristian.eriksen at telia.no> wrote:
> You are right.
> https://github.com/keycloak/keycloak/ states:
>
> To build Keycloak run:
> mvn install
> This will build all modules and run the testsuite.
>
> I assume this used to work, but no longer.
>
> It would make it easier to start with Keycloak, and also verify changes if
> this still worked.
>
> If it is not supposed to work, please update the documentation accordingly.
>
>
> Carl Kristian Eriksen
>
> On 02/10/17 13:22, "Marek Posolda" <mposolda at redhat.com> wrote:
>
> On 02/10/17 12:44, carl-kristian.eriksen at telia.no wrote:
> > The build works fine without the tests: mvn install
> -Dmaven.test.skip=true
> >
> > But when running with the tests: mvn install
> > I get the following errors:
> > Failed tests:
> > JaxrsFilterTest.testCors:285 expected:<200> but was:<403>
> > JaxrsFilterTest.testRelativeUriAndPublicKey:171 expected:<500>
> but was:<401>
> > Tests in error:
> > JaxrsBasicAuthTest.testBasic:140 » ClientError HTTP 403 Forbidden
> > JaxrsFilterTest.testBasic:140 » ClientError HTTP 403 Forbidden
> > JaxrsFilterTest.testResourceRoleMappings:235 » ClientError HTTP
> 403 Forbidden
> >
> > Tests run: 462, Failures: 2, Errors: 3, Skipped: 35
> >
> > According to https://github.com/keycloak/keycloak/ this is supposed
> to work.
> > Am I missing something here?
> It's not supposed to work and I am not seeing "-Dmaven.test.skip=true"
> mentioned in that README. Anyway, I think this will work: mvn clean
> install -DskipTests=true
>
> Marek
> >
> > Carl Kristian Eriksen
> > _______________________________________________
> > 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