Hi All,
I have multi-module maven project. So, I have done all the clover configuration in parent module pom.xml file so that the configuration will be inherited in all the sub modules.
I have generated the cloverized build using the following command,
mvn clover2:setup install clover2:aggregate clover2:clover -Dmaven.clover.licenseLocation=<clover.license_file_path> -P All -Dmaven.test.failure.ignore=true -Dmaven.repo.local=<m2_repo_path>
Now, it has generated the "cloverMerge.db" file in the target directory of parent module. While doing the configuration, I have specified path of "cloverMerge.db" file in java arguments in eclipse.
When I start my server it is not creating the recording files at the location where my cloverMerge.db file is present.
What should I do? Am I missing anything in the configuration?
I have referred the below link for the configuration,
https://dzone.com/articles/use-clover-generate-code-0
Any help is really appreciated.
First, please don't use 'clover2:setup' but 'clover:setup' (unless you deliberately want to run old version of Clover).
Second, a merged database cannot be used for code coverage recording. It can be used for reporting purposes only. It means that you have the following options:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.