Maven 中央仓库地址:
1. http://mvnrepository.com/ (本人推荐仓库)
2. http://www.sonatype.org/nexus/
3. 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=[b]D:\workBench\maven_repository[/b]
rem 正在搜索...
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
del /s /q %%i
)
rem 搜索完毕
pause
1. http://mvnrepository.com/ (本人推荐仓库)
2. http://www.sonatype.org/nexus/
3. 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=[b]D:\workBench\maven_repository[/b]
rem 正在搜索...
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
del /s /q %%i
)
rem 搜索完毕
pause