我正尝试在maven中使用命令提示符中的"mvn test site“为我的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>
报告-ng https://github.com/cosminaru/reporty-ng/raw/master/dist/maven
使用mvn测试运行项目运行良好。只有在使用"mvn测试站点“时才会遇到问题。我使用的是maven版本3.3.3。请帮帮忙
发布于 2015-09-29 12:07:11
github.com/cosminaru不再对公众开放。你不是第一个:Unable to download reportyng plugin with maven。抱歉的。
https://stackoverflow.com/questions/32830155
复制相似问题