参考了网上一些文章的解决办法,最终有效的如下:
1.Plugin 'maven-compiler-plugin:3.6.1' not found
解决办法:
在<artifactId>前添加<groupId>标签:
<groupId>org.apache.maven.plugins</groupId>
2.Plugin 'maven-assembly-plugin:' not found
添加依赖:
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
</dependency>