Hello.
My Maven projects tend to be multi-module, and all tests are placed
inside a single "tests" module rather than having them spread all over
the project's modules. Here's a drastically simplified illustration of a
project (including the full output of "mvn clean verify"):
https://github.com/io7m/jacoco-20171030
The problem: The JaCoCo maven plugin skips its own execution because it
can't find a "classes" directory:
[INFO] --- jacoco-maven-plugin:0.7.9:report (jacoco-report) @com.io7m.jacoco.20171030.tests ---
[INFO] Skipping JaCoCo execution due to missing classes directory.
Is there some way I can tell JaCoCo how to find the rest of the
project's classes? Bear in mind that in my real projects, there may be
dozens of modules each containing classes.
--
Mark Raynsford |
http://www.io7m.com