Hi,

as long as the exec files are still somewhere under the base directory of each 
project you can specify an arbitrary lookup pattern using the dataFileIncludes 
property.

Having the exec files outside the projects is not supported. As a workaround 
you might copy the exec files onto the respective projects or use the merge 
goal to merge the exec files into a exec file to the project that you use to 
generate the aggregated report.

Regards,
-marc


> On 13. Dec 2018, at 11:58, [email protected] wrote:
> 
> In a maven multimodule project, using the jacoco report-aggregate requires 
> default build directory of Maven:
> <directory>${project.basedir}/target</directory>
> since the ReportAggregateMojo.java is using the Project BaseDir to look for 
> execution data.
> https://github.com/jacoco/jacoco/blob/master/jacoco-maven-plugin/src/org/jacoco/maven/ReportAggregateMojo.java
> 
> If a project is using a different <directory> location, is it possible to 
> tell the jacoco to use the this directory to load the execution files instead 
> of the default ${project.basedir}?
> 
> -- 
> 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/107c6e41-60e7-4121-868b-a7adf3f8cf45%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/5B8730AA-CB95-432E-8FB4-9D2D66F4E04B%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to