今日救命 : 解決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