【问题标题】:Installation of Cobertura Eclipse Plugin: "Could not find ecobertura.johoop.de/update"安装 Cobertura Eclipse 插件:“找不到 ecobertura.johoop.de/update”
【发布时间】:2019-07-08 17:17:15
【问题描述】:
【问题讨论】:
标签:
eclipse
cobertura
ecobertura
【解决方案1】:
我猜 Eclipse 不再支持 Corbetura(在 Eclipse 市场中不可用),我遇到了同样的事情,最后最终使用了 EclEmma。但是如果你真的想用,可以尝试通过pom.xml直接将插件添加到项目中
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<formats>
<format>xml</format>
</formats>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>cobertura</goal>
</goals>
</execution>
</executions>
</plugin>
供参考:https://www.baeldung.com/cobertura