使用前对idea进行配置,可应用于所有的项目。
在对idea进行激活后,打开配置面板
1、配置maven仓库,settings文件
配置本地的maven以及阿里云的settings仓库
settings文件如下
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- 你自己的仓库地址 -->
<localRepository>D://repository</localRepository>
<mirrors>
<mirror>
<id>aliyun</id>
<name>aliyun Maven<