今天按照视频教程配置maven插件(maven-surefire-plugin)时,老师说这是maven内部的插件,可以不用写<groupId></groupId>标签,然后就报红:Plugin 'maven-surefire-plugin:2.12.4' not found
也就是说这个插件找不到,于是添加<groupId>org.apache.maven.plugins</groupId>,刷新maven即可解决,这时再去掉<groupId>标签也能找到2.12.4版本。
- maven-surefire-plugin surefire Plugin plugin mavenmaven-surefire-plugin maven-surefire-plugin surefire plugin maven maven-surefire-plugin springboot单元surefire maven-shade-plugin maven-assembly-plugin maven-resources-plugin maven-jar-plugin maven-compiler-plugin spring-boot-maven-plugin maven-clean-plugin