Cobertura Maven 插件何时下载

发布于 2024-08-02 23:07:43 字数 246 浏览 3 评论 0原文

谁能告诉我找到并下载 cobertura maven 插件?我在网上看过。在 Corbertura 主页上有一个 URL http://maven-plugins.sourceforge.net /repository/maven-plugins/ 到下载,但该页面已死。

Can anyone tell me to locate and download the cobertura maven plugin? I've looked on the web. On the Corbertura homepage there is a URL http://maven-plugins.sourceforge.net/repository/maven-plugins/ to the download, but that page is dead.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一花一树开 2024-08-09 23:07:43

Maven 的 Cobertura 插件可以从 Maven 中央存储库下载,但是你不需要直接下载插件,在 POM 中声明插件就足够了,Maven 会自动从中央存储库下载它(假设你有互联网连接)。

配置将是这样的:

<reporting>
  <plugins>
    ...
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>cobertura-maven-plugin</artifactId>
      <version>2.3</version>
    </plugin>
  </plugins>
</reporting>

The Cobertura plugin for Maven can be downloaded from the Maven central repository, however you shouldn't need to download the plugin directly, it is sufficient to declare the plugin in your POM, Maven will download it automatically from the central repository (assuming you have an internet connection).

The configuration would be something like this:

<reporting>
  <plugins>
    ...
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>cobertura-maven-plugin</artifactId>
      <version>2.3</version>
    </plugin>
  </plugins>
</reporting>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文