今日救命 : 解决maven 编译时一直下载pom


把以下脚本执行在编译 windows shell脚本 转载于https://blog.csdn.net/qq_36410795/article/details/73478614

@echo off
rem create by NettQun
 
 
rem 一下是你的maven库路径

set REPOSITORY_PATH=C:\xxxxxx
y
rem开始执行...

for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*_remote.repositories"') do (
 
   echo %%i
   
 del /s /q "%%i"

)

rem 结束

pause

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM