While the defaults are working great, I’d like to get CPD reports for code duplicates as well. I can generate them using sbt-cpd, but the sonar-scanner is not picking up the reports (called from sbt-sonar): “Calculating CPD for 0 files”.
I’m guessing the cpd.xml report is in an unknown location for sonar-scanner (it is at /target/scala-2.11/cpd/cpd.xml).
Has anyone a working setup with sonar-sbt + cpd or can point me into the right direction to solve this? I’d appreciate any help!