设置maven默认jdk版本
<profile>
<id>jdk-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
</profiles>
设置mevan 版本库下载来源 可提高下载速度
<mirrors>
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
</mirrors>
cleanLastUpdated.bat (文件名称) 清理掉不可用得断载版本包
echo off
echo "删除所有 .lastUpdated 文件"
set /p VAR=Whether to delete the specified file? :[Y, N]?
rem echo %VAR%
if /i '%VAR%' == 'y' goto s1
if /i '%VAR%' == 'n' goto end
:s1
for /r %%i in (.\) do (cd %%i
del /s/q *.lastUpdated
cd ..)
:end
pause