【问题标题】:unable to generate xslt report in maven Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site无法在 maven 中生成 xslt 报告 无法执行目标 org.apache.maven.plugins:maven-site-plugin:3.3:site
【发布时间】:2015-09-28 19:13:45
【问题描述】:

我正在尝试使用命令提示符中的“mvn 测试站点”为我在 maven 中的 selenium 项目生成 xslt 报告。我正在构建失败。这是我收到的命令提示符消息--

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project Framework_datadriven_maven: failed to get report for org.reportyng:reporty-ng: Plugin org.reportyng:reporty-ng:1.2 or one of its dependencies could not be resolved: Failure to find org.reportyng:reporty-ng:jar:1.2 in https://github.com/cosminaru/reporty-ng/raw/master/dist/maven was cached in the local repository, resolution will not be reattempted until the update interval of reporty-ng has elapsed or updates are forced -> [Help 1]

这是我的 POM 文件-

<reporting>
<plugins>
<!-- TestNG-xslt related configuration. -->
  <plugin>
    <groupId>org.reportyng</groupId>
    <artifactId>reporty-ng</artifactId>
    <version>1.2</version>
    <configuration>
      <!-- Output directory for the testng xslt report -->
      <outputdir>/target/testng-xslt-report</outputdir>
      <sorttestcaselinks>true</sorttestcaselinks>
      <testdetailsfilter>FAIL,SKIP,PASS,CONF,BY_CLASS</testdetailsfilter>
      <showruntimetotals>true</showruntimetotals>
    </configuration>
  </plugin>
</plugins>

reporty-ng https://github.com/cosminaru/reporty-ng/raw/master/dist/maven

使用 mvn test 运行项目运行良好。只面临使用“mvn 测试站点”的问题。我正在使用 Maven 版本 3.3.3。请帮忙

【问题讨论】:

  • 您的链接结果为 404。您希望从哪个 maven 存储库下载此插件?
  • 这是来自我的 POM 文件 reporty-nggithub.com/cosminaru/reporty-ng/raw/master/dist/maven</url> 还有什么 URL 我可以尝试下载reporty-ng?
  • 此链接也会导致 404。在尝试将其提供给 Maven 之前,使用 curl 测试您的链接。
  • 还有什么 URL 我可以尝试下载 reporty-ng?我找不到其他的

标签: xslt selenium-webdriver testng maven-3


【解决方案1】:

github.com/cosminaru 不再对公众开放。你不是第一个:Unable to download reportyng plugin with maven。对不起。

【讨论】:

    猜你喜欢
    • 2016-02-27
    • 1970-01-01
    • 2022-08-10
    • 2020-10-12
    • 2014-07-02
    • 2016-08-06
    • 1970-01-01
    • 1970-01-01
    • 2019-02-20
    相关资源
    最近更新 更多