windows系统
1 | cd %userprofile%\.m2\repository |
或者新建一个bat文件,批处理。就不用每次都在cmd敲命令了
1 | @echo off |
linux系统
1 | find /app/maven/localRepository -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \; |
windows系统
1 | cd %userprofile%\.m2\repository |
或者新建一个bat文件,批处理。就不用每次都在cmd敲命令了
1 | @echo off |
linux系统
1 | find /app/maven/localRepository -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \; |