---
title: "maven com.github.goldin.plugins 报错"
author: "riching"
date: "2014-05-05T11:38:47Z"
tags: []
categories: ["开源软件"]
slug: "maven-com-github-goldin-plugins"
draft: false
lastmod: "2014-05-05T11:38:47Z"
id: 2060106
url: "https://riching.iteye.com/blog/2060106"
---

--- copy-maven-plugin:0.2.5:copy 
 Error injecting: com.github.goldin.plugins.copy.CopyMojo
java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem;

 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的插件太多，官方测试不完全，插件开发者自己该测一下兼容性啊