### _Why are the changes needed?_ To speed up the making distribution. Refer https://github.com/apache/spark/pull/41141 This PR add more skip properties when making distribution: - -Dmaven.javadoc.skip=true to skip generating javadoc - -Dmaven.scaladoc.skip=true to skip generating scaladoc. Please see: https://davidb.github.io/scala-maven-plugin/doc-jar-mojo.html#skip - -Dmaven.source.skip to skip generating sources.jar ### _How was this patch tested?_ Manual test: <img width="267" alt="image" src="https://github.com/apache/kyuubi/assets/6757692/af4e7bb5-10f1-4fa0-b212-b779b77c9ff3"> ``` ./build/dist --spark-provided --hive-provided --flink-provided ``` Before this pr: ``` [INFO] Total time: 09:20 min ``` After this pr: ``` [INFO] Total time: 06:46 min ``` Closes #4880 from turboFei/speedup_dist. Closes #4880 47f5ef2ac [fwang12] [BUILD] Skip compiling useless files when making distribution Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| release | ||
| dependency.sh | ||
| dist | ||
| Dockerfile | ||
| kyuubi-build-info | ||
| kyuubi-build-info.cmd | ||
| mvn | ||
| util.sh | ||