mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 15:02:05 -03:30
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:
parent
8ae3750348
commit
dc62067cfe
@ -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:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user