(improvement)[build] Add the spotless.skip configuration to resolve the error reported by Spotless during the build. (#1762)

This commit is contained in:
lexluo09
2024-10-09 22:20:56 +08:00
committed by GitHub
parent 2c75a6972a
commit cadb743eda
3 changed files with 7 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ fi
function buildJavaService {
model_name=$1
echo "starting building supersonic-${model_name} service"
mvn -f $projectDir clean package -DskipTests
mvn -f $projectDir clean package -DskipTests -Dspotless.skip=true
if [ $? -ne 0 ]; then
echo "Failed to build backend Java modules."
exit 1