IDEA使用maven时bulid报错,一系列插件(标题是其中一个)报红
解决办法
打开Settings -> Build,Execution,Deployment -> Build Tools -> Maven
- User settings file项为C:\Users\zjm.m2\settings.xml,该目录下并没有settings.xml文件,新建并填入,参考博客
<?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">
<pluginGroups />
<proxies />
<servers />
<!-- maven自动下载的jar包,会存放到该目录下。这里要自己改成Local repository项的目录-->
<localRepository>C:\Users\zjm\.m2\repository</localRepository>
<mirrors>
<mirror>
<id>alimaven</id>
<mirrorOf>