Skip to content

Make it easier to build and run tests #9856

@stianst

Description

@stianst

Description

At the moment it's a bit of a PITA to build Keycloak, especially following the instructions in https://github.com/keycloak/keycloak/blob/main/docs/building.md.

I'm also having constant issues with InteliJ and weird build errors there. Not sure if that's a common thing, but seems all the magic stuff around the new store, javascript adapters, npm modules, etc. are all a bit of a PITA?

Some issues with it:

  • mvn clean install builds and runs the testsuite, which takes an enormous amount of time
  • Asking people to add nexus to their POMs is just annoying like hell

There's also some issues with missing dependencies especially around the testsuite not having dependencies on the distribution.

A couple things here that will help:

  • Getting rid of WildFly distribution will allow us to clean up a lot
  • Getting rid of old examples
  • Making the testsuite something that has to be explicitly built/execute rather than part of the default build
  • Cleanup of modules, and making sure there are dependencies between modules when needed
  • Splitting the server and adapters into separate things

Discussion

No response

Motivation

No response

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementCategorizes a PR related to an enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions