From 3458e9fba3d31144fa430f9c96020e53d9946453 Mon Sep 17 00:00:00 2001 From: jimtng <2554958+jimtng@users.noreply.github.com> Date: Wed, 19 Feb 2025 03:27:11 +1000 Subject: [PATCH] Add a quicker build instruction in README (#4609) Signed-off-by: Jimmy Tanagra --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 35af223efb..7e99b8b0dd 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,12 @@ To build this project from the sources, Maven takes care of everything: - set `MAVEN_OPTS` to `-Xms512m -Xmx1024m` - change into the openhab-core directory (`cd openhab-core`) -- run `mvn clean install` to compile and package all sources +- run `mvn clean spotless:apply install` to compile and package all sources If there are tests that are failing occasionally on your local build, run `mvn -DskipTests=true clean install` instead to skip them. +For an even quicker build, run `mvn clean install -T1C -DskipChecks -DskipTests -Dspotless.check.skip=true`. + ## How to contribute If you want to become a contributor to the project, please read about [contributing](https://www.openhab.org/docs/developer/contributing.html) and check our [guidelines](https://www.openhab.org/docs/developer/guidelines.html) first.