[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 <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
Cheng Pan 2023-09-04 19:01:38 +08:00
parent be93d89744
commit 522ec94ef2
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D
2 changed files with 2 additions and 2 deletions

View File

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

View File

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