fix: Maven 无法解析 spotless 前缀。
This commit is contained in:
parent
060aaa9e20
commit
5bd748872b
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ if [[ "$MODE" == "release" ]]; then
|
|||
fi
|
||||
|
||||
log "统一代码格式(spotless)"
|
||||
run mvn -B -ntp -q spotless:apply
|
||||
run mvn -B -ntp -q com.diffplug.spotless:spotless-maven-plugin:apply
|
||||
if [[ $DRY_RUN -eq 0 && -n "$(git status --porcelain)" ]]; then
|
||||
die "spotless 产生了源码改动,请提交后再发布:$(git status --short)"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue