From 407790ccbefbb583c0ff03ed7e23bdd1ceb10eb3 Mon Sep 17 00:00:00 2001 From: liangbowen Date: Wed, 1 Feb 2023 22:12:29 +0800 Subject: [PATCH] [KYUUBI #4225] [DOCS] Add docs for the `fast` maven profile ### _Why are the changes needed?_ - Add docs for the `fast` maven profile ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4225 from bowenliang123/doc-fast-profile. Closes #4225 29aff164 [liangbowen] update 22ebef61 [liangbowen] typo 24a65920 [liangbowen] nit 803b86ad [liangbowen] doc for the `fast` maven profile Authored-by: liangbowen Signed-off-by: liangbowen --- docs/develop_tools/building.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/develop_tools/building.md b/docs/develop_tools/building.md index 42533eac0..aaa2a600a 100644 --- a/docs/develop_tools/building.md +++ b/docs/develop_tools/building.md @@ -79,6 +79,15 @@ For example, build/mvn clean package -Pmirror-cdn ``` -The profile migrates your download repo to the Apache offically suggested site - https://dlcdn.apache.org. +The profile migrates your download repo to the Apache officially suggested site - https://dlcdn.apache.org. Note that, this site only holds the latest versions of Apache releases. You may fail if the specific version defined by `spark.version` or `flink.version` is overdue. + +## Building with the `fast` profile + +The `fast` profile helps to significantly reduce build time, which is useful for development or compilation validation, by skipping running the tests, code style checks, building scaladoc, enforcer rules and downloading engine archives downloading used for tests. + +```bash +build/mvn clean package -Pfast +``` +