New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing root project added #430
Conversation
Hi @momega , It is unclear, at least for me, both from message in mailing list and from commit message, what you are trying to achieve. To clarify - taking as an example project from our integration tests ( https://github.com/jacoco/jacoco/tree/master/jacoco-maven-plugin.test/it/it-report-aggregate ) this change will cause inclusion of source files of module "report" into the report produced in this module and has nothing to do with root. So, is it the goal or something else? |
Hi, You are right, usage of words "root project" was not correct. Nevertheless During generating report/site original implementation loads all exec files [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report-aggregate So, yes, goal is add the source files from "report" module. Best Regards, On Tue, Jun 28, 2016 at 9:01 AM, Evgeny Mandrikov notifications@github.com
|
Just for clarity: report won't contain file This enhancement looks good to me and seems that such behaviour would match expectations of many users. @marchof do you have any objections, maybe something was overlooked by me what prevents us to do so? @momega in case of absence of objections from @marchof this change will require some polishing - update of integration-test, javadoc and changelog, but before doing all this I suggest to wait a bit his response. |
We haven't seen such a use case before. Typically you don't create coverage reports for tests itself. @momega Can you please describe your use case a bit to get a better understanding why such a module structure might make sense? The current implementation would always create an empty group for the report module itself. Which is not the desired bahaviour for the regular case. |
@Godin Ok, I see. In this case we still need a filter for the other cases to avoid empty groups in the report. |
Any plans to merge this pull request? This functionality still doesn’t work, version: 0.8.0. //edit:
these two last project are country specific, and both contain some code/tests. Current setup of course is temporary but still I would like to:
in one place. I’ve tried to use report goal in loan-application-pl module but as it was described above, report doesn’t contain classes from: loan-application-pl module, as a work around I can configure loan-application-pl as a dependency in loan-application-pl module :/ . |
@adrianchrzastowski-kreditech this was not accepted because #430 (comment) from @marchof was ignored by @momega I'm closing this PR as duplicate of #812 , which hopefully contains clean description of why this as well as almost identical #680 were not accepted. |
No description provided.