Cobertura Eclipse 插件的安装:"Could not find ecobertura.johoop.de/update"
Installation of Cobertura Eclipse Plugin: "Could not find ecobertura.johoop.de/update"
我需要安装 Cobertura Eclipse Plugin (eCobertura) which shows unit test coverage in Eclipse. (Another link here)
按照指示,我将栏从站点拖到我的 Eclipse 工作区中,并收到以下错误:
所以我决定换个方式,安装新软件并关闭 "Contact Update Sites" 复选框。但我什至不能那样做。即使我关闭 "Contact Update Sites" 它仍然说安装是不可能的。我做错了什么?
看起来站点 http://ecobertura.johoop.de/update 确实离线了。这个插件还支持吗?
我猜 Corbetura 不再受 eclipse 支持(在 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>
我需要安装 Cobertura Eclipse Plugin (eCobertura) which shows unit test coverage in Eclipse. (Another link here)
按照指示,我将栏从站点拖到我的 Eclipse 工作区中,并收到以下错误:
所以我决定换个方式,安装新软件并关闭 "Contact Update Sites" 复选框。但我什至不能那样做。即使我关闭 "Contact Update Sites" 它仍然说安装是不可能的。我做错了什么?
看起来站点 http://ecobertura.johoop.de/update 确实离线了。这个插件还支持吗?
我猜 Corbetura 不再受 eclipse 支持(在 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>