maven 安装配置
官网:http://maven.apache.org/download.cgi
环境变量配置
maven_home maven路径
path %MAVEN_HOME%\bin
使用阿里云镜像
<mirror>
<id>aliyunmaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
jdk1.8编译项目
<profile>
<id>jdk18</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>
本地仓库位置
<settings> <localRepository>D:/apache-maven-3.6.3/repo</localRepository> </settings>

浙公网安备 33010602011771号