[KYUUBI #1571] [BUILD] Correct build command in build/dist

### _Why are the changes needed?_

`mvn install` is required because of `kyuubi-hive-jdbc-shaded`

### _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/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1571 from pan3793/dist.

Closes #1571

c905411c [Cheng Pan] Correct build command in build/dist

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
Cheng Pan 2021-12-15 21:23:10 +08:00
parent 786dfcbdd3
commit e50c3f3699
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -164,7 +164,7 @@ if [[ "$SPARK_PROVIDED" == "true" ]]; then
MVN_DIST_OPT="$MVN_DIST_OPT -Pspark-provided"
fi
BUILD_COMMAND=("$MVN" clean package $MVN_DIST_OPT $@)
BUILD_COMMAND=("$MVN" clean install $MVN_DIST_OPT $@)
echo -e "\nBuilding with..."
echo -e "\$ ${BUILD_COMMAND[@]}\n"