Symptoms
You have a maven project that compiles and installs just fine, but when run with the clover goals on it fails with the above error. The project is set up a little bit different, as the source is in two folders, src/main/java/core, and src/main/java/gen. The maven compiler plugin is configured to handle this as below:
Cause
Clover does not understand the above definition.
Resolution
The maven best practice is to use the build-helper-maven-plugin to add alternate source directories, instead of using <includes> in the maven-compiler-plugin.
Please remove the <includes> from the compiler plugin and add the following plugin definition to your build.xml:
Labels
