Well I finally figured out an answer. I'm leaving this here for posterity.
The solution is complicated and somewhat of a Hack but it WORKS.
Update the parent projects pom.xml file
- cloverDB:
<cloverDatabase>${project.basedir}.clover\clover.db</cloverDatabase>
- Merge CloverDB:
<cloverMergeDatabase> ${project.basedir}.clover\cloverMerge.db </cloverMergeDatabase>
- cloverDB:
Create your Unit Tests to Run in IntelliJ IDEA
- setup a Before launch - Run Maven Goal
clean clover2:setup prepare-package -DSkipTests
- setup a Before launch - Run Maven Goal
- Create a Maven Run Configuration
- Make the Unit-Tests a Before launch condition
- In the command line have Maven run
clover2:aggregrate
- Update Intellij Project Settings for clover to point to the merge file
- Make sure the Relative to project directory. checkbox is checked.
- InitString to User specified with the value the same as your pom file.
in my case: .clover\cloverMergeDB
- Once the command is run, just click the Referesh Coverage icon to see and work with the coverage data in idea.
- If the tests fail you will also have the nice IntelliJ Test runner Tab to figure out why.