因为报告中需要截图,所以需要对 reportNG 进行修改,但目前修改的后在打包的时候出问题了,一下午在尝试解决也没有什么结果,就上来问下大家了

https://github.com/dwdyer/reportng

上面是源码的地址,源码是在 reportng 这个目录下,

问题 1、剩下的目录不清楚是干什么的,有清楚的麻烦说下

我在 eclipse 中导入 reportng,右键使用 Run As 打包的时候出现如下错,查过百度说是少了一对标签,加上了还是报错。

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.056 s
[INFO] Finished at: 2015-09-23T20:00:26+08:00
[INFO] Final Memory: 6M/153M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException

问题 2、这个开源项目打包的代码需要修改吗,还是要怎么做

目前就上面这两个问题。


↙↙↙阅读原文可查看相关链接,并与作者交流