Detailed how to skip test while building keycloak

Closes #44338

Signed-off-by: Ruchika Jha <ruchika@li-0551ffcc-341d-11b2-a85c-a28deda416be.ibm.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Ruchika Jha <ruchika@li-0551ffcc-341d-11b2-a85c-a28deda416be.ibm.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
This commit is contained in:
ruchikajha95 2025-11-20 11:29:56 +01:00 committed by GitHub
parent 8ae3750348
commit dc62067cfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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. 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. This will use the Maven version which is supported by this project.
--- ---
First clone the Keycloak repository: First clone the Keycloak repository:
git clone https://github.com/keycloak/keycloak.git git clone https://github.com/keycloak/keycloak.git
cd keycloak 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 ./mvnw clean install
This will build all modules and run the testsuite.
To build Keycloak with adapters run: To build Keycloak with adapters run:
./mvnw clean install -Pdistribution ./mvnw clean install -DskipTests -Pdistribution
To build only the server run: To build only the server run: