所以我下载了这个插件
http://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin/2.5
如何将其手动安装到 maven ?
我试过了
maven -DartifactId=cobertura-maven-plugin -DgroupId=org.codehaus.mojo -Dversion=2.5 plugin:download
但是得到这个错误:
[WARNING] Cannot resolve plugin-mapping metadata for groupId: org.codehaus.mojo:
cobertura-maven-plugin:maven-plugin:2.5 - IGNORING.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: plugin:download in org.apache.maven.plugins:mave
n-plugin-plugin:2.4.3