setting.xml中可能要用到的配置,直接复制粘贴到Maven的settings.xml中的相应位置即可
|
<!—使用阿里云镜像 --> <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror> |
|
<!—修改工程默认的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> |
|
<!—修改工程默认的本地仓库位置 --> <localRepository>D:\RepMaven</localRepository> |
968

被折叠的 条评论
为什么被折叠?



