标签:compiler group 本地仓库 bsp alt .so 阿里云 style art
文件路径:C:\Program Files\apache-maven-3.3.9
setting的配置
找到文件C:\Program Files\apache-maven-3.3.9\conf,
1 <?xml version="1.0" encoding="UTF-8"?> 2 3 4 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 6 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> 7 <!-- localRepository 8 | The path to the local repository maven will use to store artifacts. 9 | 10 | Default: ${user.home}/.m2/repository 11 <localRepository>/path/to/local/repo</localRepository> 12 --> 13 <localRepository>E:\maven\repository</localRepository> //设置本地仓库 14 <mirrors> 15 <mirror> 16 <id>nexus-aliyun</id> 17 <mirrorOf>*</mirrorOf> 18 <name>Nexus aliyun</name> 19 <url>http://maven.aliyun.com/nexus/content/groups/public</url>//设置阿里云为下载地址,Apache的太慢了 20 </mirror> 21 </mirrors> 22 <profiles> 23 <profile> 24 <id>jdk-1.8</id> //jdk版本 25 <activation> 26 <activeByDefault>true</activeByDefault> 27 <jdk>1.8</jdk> 28 </activation> 29 <properties> 30 <maven.compiler.source>1.8</maven.compiler.source> 31 <maven.compiler.target>1.8</maven.compiler.target> 32 <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> 33 </properties> 34 </profile> 35 </profiles> 36 </settings>
标签:compiler group 本地仓库 bsp alt .so 阿里云 style art
原文地址:http://www.cnblogs.com/bignew/p/6638806.html