PMD-Intellij icon indicating copy to clipboard operation
PMD-Intellij copied to clipboard

RuleSet is not accepting valid rules

Open spartida-iteso opened this issue 4 years ago • 1 comments

I have this rule in my xml:

<ruleset name="Custom Rules" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">

<description>
     Rules
</description>


<!-- Your rules will come here -->
<rule ref="category/plsql/design.xml/ExcessiveMethodLength">

But mentions with a pop up of this one is no valid.

I'm using the latest intellij version: IntelliJ IDEA 2020.3.1 (Ultimate Edition) Build #IU-203.6682.168, built on December 29, 2020 Licensed to IntelliJ IDEA Evaluator Expiration date: February 10, 2021 Runtime version: 11.0.9.1+11-b1145.63 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1992M Cores: 4 Non-Bundled Plugins: PMDPlugin, IntelliJDeodorant, QAPlug, QAPlug - PMD, Pythonid, com.jetbrains.edu

Error:

image

spartida-iteso avatar Jan 13 '21 18:01 spartida-iteso

This was probably due to a old PMD version being bundled with the plugin before. Now it is up to date, can we close this issue?

martenbohlin avatar Jan 02 '25 17:01 martenbohlin

Old issue and a long time no answer, so let's assume it is solved.

jborgers avatar May 08 '25 14:05 jborgers