尝试使用SonarQueue 5.6.6设置scala项目,通过SBT通过PMD CPD进行代码复制。我确实设法通过SBT运行CPD来生成cpd.xml,但只是徘徊如何将该信息传播给Sonar。有人知道它是如何工作的吗? 运行声纳扫描仪时,我看到以下几行:
00:22:18.577 INFO: Sensor CPD Block Indexer (wrapped)
00:22:18.577 INFO: DefaultCpdBlockIndexer is used for scala
00:22:18.577 DEBUG: No CpdMapping for language scala
00:22:18.577 INFO: Sensor CPD Block Indexer (wrapped) (done) | time=0ms
00:22:18.578 INFO: Calculating CPD for 0 files
00:22:18.579 INFO: CPD calculation finished
任何有助于大力推荐的帮助