Can't import PMD Ruleset in Eclipse

后端 未结 6 2240
旧时难觅i
旧时难觅i 2021-02-14 03:24

I would like to use the same Ruleset in my IDE (Eclipse) that my Sonar profile.

I got the PMD XML ruleset from the Sonar Permalinks and would like to import it into my P

6条回答
  •  孤独总比滥情好
    2021-02-14 04:05

    In addition to what others said, you may also have to find this:

    net.sourceforge.pmd.rules.XPathRule
    

    and replace it by this:

    net.sourceforge.pmd.lang.rule.XPathRule
    

提交回复
热议问题