Maven 中央仓库地址和lastUpdate文件删除
Maven 中央仓库地址:
- http://mvnrepository.com/ (本人推荐仓库)
- http://www.sonatype.org/nexus/
- http://repo1.maven.org/maven2 引自:http://blog.csdn.net/mynameissls/article/details/21223453
方法功能:删除Maven本地仓库的lastupdate,将横线下内容放到(cleanLastUpdate.bat)中,执行便可。(粗体字部分为自己的本地仓库地址)
@echo off rem create by sunhao(sunhao.java@gmail.com) rem crazy coder set REPOSITORY_PATH=D:\workBench\maven_repository rem 正在搜索... for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%*lastUpdated*"') do ( del /s /q %%i ) rem 搜索完毕 pause