Add a quicker build instruction in README (#4609)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/4618/head
jimtng 2025-02-19 03:27:11 +10:00 committed by GitHub
parent 4f64c8d37b
commit 3458e9fba3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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.