-
Suggestion
-
Resolution: Fixed
-
None
The AbstractInstrumenter recognizes only the target/generated-sources path:
private boolean isGeneratedSourcesDirectory(final String sourceRoot) { String generatedSrcDirDefaultLifecycle = File.separator + "target" + File.separator + "generated-sources"; String generatedSrcDirCloverLifecycle = File.separator + "target" + File.separator + "clover" + File.separator + "generated-sources"; return sourceRoot.indexOf(generatedSrcDirDefaultLifecycle) != -1 || sourceRoot.indexOf(generatedSrcDirCloverLifecycle) != -1; }
It shall also detect the target/generated-test-sources.
- relates to
-
CLOV-1471 Maven clover2:setup triggers duplicate class exception
- Closed