From 522ec94ef2b32281c62bb05b5fbe56adb411a23e Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Mon, 4 Sep 2023 19:01:38 +0800 Subject: [PATCH] [KYUUBI #5247] Correct building command for Spark authz/lineage plugins ### _Why are the changes needed?_ Adding `-DskipTests` and `-am` into maven commands ### _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/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ No. Closes #5247 from pan3793/minor. Closes #5247 f373fbd52 [Cheng Pan] Correct building command for Spark authz/lineage plugins Authored-by: Cheng Pan Signed-off-by: Cheng Pan --- extensions/spark/kyuubi-spark-authz/README.md | 2 +- extensions/spark/kyuubi-spark-lineage/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/spark/kyuubi-spark-authz/README.md b/extensions/spark/kyuubi-spark-authz/README.md index 8964fb7d1..374f83b03 100644 --- a/extensions/spark/kyuubi-spark-authz/README.md +++ b/extensions/spark/kyuubi-spark-authz/README.md @@ -26,7 +26,7 @@ ## Build ```shell -build/mvn clean package -pl :kyuubi-spark-authz_2.12 -Dspark.version=3.2.1 -Dranger.version=2.4.0 +build/mvn clean package -DskipTests -pl :kyuubi-spark-authz_2.12 -am -Dspark.version=3.2.1 -Dranger.version=2.4.0 ``` ### Supported Apache Spark Versions diff --git a/extensions/spark/kyuubi-spark-lineage/README.md b/extensions/spark/kyuubi-spark-lineage/README.md index a713221ac..1c42d3736 100644 --- a/extensions/spark/kyuubi-spark-lineage/README.md +++ b/extensions/spark/kyuubi-spark-lineage/README.md @@ -26,7 +26,7 @@ ## Build ```shell -build/mvn clean package -pl :kyuubi-spark-lineage_2.12 -am -Dspark.version=3.2.1 +build/mvn clean package -DskipTests -pl :kyuubi-spark-lineage_2.12 -am -Dspark.version=3.2.1 ``` ### Supported Apache Spark Versions