0
点赞
收藏
分享

微信扫一扫

删除无效maven依赖


 

用记事本打开,复制以下内容,修改 把.txt 拓展名改为 .bat,双击运行即可

@echo off
rem create by xlh(xlh@foxmail.com)
rem crazy coder

rem -- D:\devtools\apache-maven-3.6.3\repository
set REPOSITORY_PATH=D:\devtools\apache-maven-3.6.3\repository
rem -- ...
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
del /s /q %%i
)
rem
pause

 

举报

相关推荐

0 条评论