From 1e146b87ecad038dbd1ce29cead61cdc646ebc6d Mon Sep 17 00:00:00 2001 From: yimeng <1982337+yimeng@users.noreply.github.com> Date: Tue, 15 Feb 2022 16:32:01 +0800 Subject: [PATCH] change maven jdk version from 11 to 8 --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 7f6271768..ad05fb874 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -24,7 +24,7 @@ else fi CODE_DIR=$(cd $SCRIPT_DIR/..; pwd) echo $CODE_DIR -$DOCKER_CMD run --rm -v $HOME/.m2:/root/.m2 -v $CODE_DIR:/usr/src/mymaven -w /usr/src/mymaven maven:3.6-jdk-11 mvn -q -DskipTests package +$DOCKER_CMD run --rm -v $HOME/.m2:/root/.m2 -v $CODE_DIR:/usr/src/mymaven -w /usr/src/mymaven maven:3.6-jdk-8 mvn -q -DskipTests package cp $CODE_DIR/target/*.jar $CODE_DIR/docker/carts