Hi
I have a parent project containing a pom.xml with one modules entry:
<module>commercial</module>
The parent project contains no code, other than a pom.xml.
The commercial module (sub-project in a folder called 'commercial') contains only groovy code.
If I execute:
mvn -e clean org.openclover:clover-maven-plugin:4.2.1:setup test org.openclover:clover-maven-plugin:4.2.1:aggregate org
openclover:clover-maven-plugin:4.2.1:clover
from the 'commercial' folder then I get a Clover report.
If I execute the same command from the parent folder then I get warnings:
[WARNING] No Clover databases found in children projects, no merge done. Run a build with debug logging for more details.
[WARNING] No Clover database found, skipping report generation
Thanks
Mark
It seems like instrumentation didn't kick in. Please turn on debug logs and check if Clover does instrument your sources. Database should be generated along with sources instrumentation.
Hi
[INFO] No Clover instrumentation done on source files in: [C:\Users\abc\myapp\application\src\main\java] as no matching sources files found (JAVA_LANGUAGE)
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[INFO] No Clover instrumentation done on source files in: [C:\Users\abc\myapp\application\src\test\java] as no matching sources files found (JAVA_LANGUAGE)
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[INFO] No Clover instrumentation done on source files in: [C:\Users\abc\myap\application\src\main\java] as no matching sources files found (JAVA_LANGUAGE)
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[DEBUG] including files for instrumentation = [com\def\MyApplication.groovy, com\def\services\MyServiceImpl.groovy]
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[DEBUG] excluding files from instrumentation = []
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[INFO] No Clover instrumentation done on source files in: [C:\Users\abc\myapp\application\src\test\java] as no matching sources files found (JAVA_LANGUAGE)
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[DEBUG] including files for instrumentation = [com\def\MyApplicationSpec.groovy,com\def\services\MyServiceImplSpec.groovy]
[DEBUG] excludes patterns = []
[DEBUG] includes patterns = [**/*.java, **/*.groovy]
[DEBUG] excluding files from instrumentation = []
Thanks
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.