maven com.github.goldin.plugins 报错

[INFO] --- copy-maven-plugin:0.2.5:copy
[WARNING] Error injecting: com.github.goldin.plugins.copy.CopyMojo
java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem;

[ERROR] Failed to execute goal com.github.goldin:copy-maven-plugin:0.2.5:copy (unpack-qzz) on project travel-destination: Execution unpack-qzz of goal com.github.goldin:copy-maven-plugin:0.2.5:copy failed: A required class was missing while executing com.github.goldin:copy-maven-plugin:0.2.5:copy: Lorg/sonatype/aether/RepositorySystem;

看maven官方提示是版本不兼容,所以我试了几个maven版本2.2.1 3.1.1 3.2.1都不行
最后换成3.0.5 3.0.4这两个版本是可以的、
maven的插件太多,官方测试不完全,插件开发者自己该测一下兼容性啊

猜你喜欢

转载自riching.iteye.com/blog/2060106
今日推荐