我正在尝试使用" mvn test site"为maven中的selenium项目生成xslt报告。 in command promt。我正在构建失败。这是我得到的命令promt消息 -
[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运行项目工作正常。仅使用&#34; mvn测试网站&#34;面临问题。我正在使用maven版本3.3.3。请帮忙
答案 0 :(得分:0)
github.com/cosminaru不再向公众开放。你不是第一个:Unable to download reportyng plugin with maven。遗憾。