Hi Wilson, I don’t know how to upload to Sonarqube but these are the options to generate the report:
1) Generate reports with jacococli separately for every module 2) Generate reports with JaCoCo Maven goal "report" separately for every module 3) Generate one structured report with Maven goal “report-aggregate” or with Ant task “report” In all cases you can supply the combined exec file as input. Regards, -marc > On 28. Aug 2019, at 06:54, Wilson Ng <[email protected]> wrote: > > Hi, > > I am having external testing (outside maven) and would like to collect > code coverage data. I inject the jacoco agent in our JVM(s) and collected the > dumps (exec file) thru server mode. I use the jacoccli to combine all exec > files. How can I generate a single aggregated report and upload to Sonarqube > from our maven multi modules project ? > > I tried to use the jacococli to generate the xml report but since this > is a multi module projects while they have duplicate class name, I cannot > generate a single xml report. > > > Regards, > Wilson > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/e61c1aad-0e71-43a9-8862-225b2cad82a5%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/e61c1aad-0e71-43a9-8862-225b2cad82a5%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/F06181E2-5B77-4444-A83C-E0F2D2BF3BB7%40mountainminds.com.
