setting配置文件
setting配置文件
神奇海螺配置本地仓库位置
maven有两个配置文件:
用户级settings(优先使用)
全局settings
配置阿里镜像:
配置构建时使用的jdk版本:
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.compilerVersion>8</maven.compiler.compilerVersion>
GAVP特性:(规范)构建时存到maven仓库的综合名称
G:公司域名,最多四级
A:项目名-模块名
V:版本号,一般使用三级版本号,例如:1.0.0
P:当前是什么文件,有jar,war,pom
id 表示镜像id
mirrorOf 表示匹配中央仓库
name 表示镜像名称
url表示镜像路径
<maven.compiler.source>
<maven.compiler.target>
<maven.compiler.compilerVersion>
配置具体的jdk信息