diff --git a/docs/building.md b/docs/building.md index 08e23b2d816..20aa9555c6c 100644 --- a/docs/building.md +++ b/docs/building.md @@ -14,21 +14,24 @@ environment variable (this should be the directory containing `/bin/` or `/jre/` Instead of using a locally installed Maven, call the Maven wrapper script `mvnw` in the main folder of the project. This will use the Maven version which is supported by this project. ---- +--- + First clone the Keycloak repository: git clone https://github.com/keycloak/keycloak.git cd keycloak - -To build Keycloak run: + +To build Keycloak without running the tests: + + ./mvnw clean install -DskipTests + +To build Keycloak and run the tests (note that this might take several hours): ./mvnw clean install - -This will build all modules and run the testsuite. To build Keycloak with adapters run: - ./mvnw clean install -Pdistribution + ./mvnw clean install -DskipTests -Pdistribution To build only the server run: