[keycloak-dev] "mvn install" fails on a fresh clone of Keycloak

carl-kristian.eriksen at telia.no carl-kristian.eriksen at telia.no
Mon Oct 2 06:44:29 EDT 2017


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?

Carl Kristian Eriksen


More information about the keycloak-dev mailing list