657 Commits

Author SHA1 Message Date
Andreas Dangel
5931461ca9 Merge pull request #4804 from adangel:issue-4309-xpath-cleanups
[core] XPath cleanups #4804
2024-02-09 16:23:58 +01:00
Andreas Dangel
6a328d6cd0 Merge pull request #4803 from adangel:issue-3903-reporting-package
[core] Consolidate n.s.pmd.reporting package #4803
2024-02-09 15:32:55 +01:00
Andreas Dangel
2a3128fb86 Merge pull request #4799 from adangel:issue-3917-rule-package
[core] Consolidate n.s.pmd.lang.rule package #4799
2024-02-09 14:39:03 +01:00
Andreas Dangel
049f2c7c59 [core] XPathRule - remove version property (#4309) 2024-01-20 17:40:02 +01:00
Andreas Dangel
7c29f16eac [core] Move XPathRule into subpackage lang.rule.xpath (#4309) 2024-01-19 12:52:51 +01:00
Andreas Dangel
f13cd58c7f [core] Move classes into n.s.pmd.reporting
- Report
- RuleContext
- RuleViolation
- ViolationSuppressor
- ParametricRuleViolation

Fixes #3903
2024-01-18 20:27:34 +01:00
Andreas Dangel
faaec5ed6d [core] Actually move into correct package lang.rule 2024-01-13 20:57:56 +01:00
Andreas Dangel
9e668c22fc [core] Move Rule/RuleSet related type into net.sourceforge.pmd.rule
Refs #3917
2024-01-12 18:14:04 +01:00
Andreas Dangel
6d955d6b9a [core] Move Rule into package net.sourceforge.pmd.rule 2024-01-12 11:04:02 +01:00
Andreas Dangel
7b24edc0db [core] Remove support for deprecated rule set references notation
The old notation <lang>-<ruleset> is not supported anymore. It is
now interpreted as a ruleset reference without a ruleset and just
referencing a single rule. Also the release number notation is
not supported anymore.

Since RuleSetReferenceId is Internal+Deprecated, no API changes.
Clarified External/Internal: A RuleSetReference is either absolute
(RuleSet is known) or relative (RuleSet is not known).

Fixes #4313
2024-01-05 12:43:56 +01:00
Andreas Dangel
aa93a75009 [test] Test built-in rulesets for warnings while loading 2023-12-07 18:44:41 +01:00
Andreas Dangel
0c53b69e82 Merge pull request #4586 from adangel:ruleset-xml
Use explicit encoding in ruleset xml files #4586
2023-10-19 09:41:57 +02:00
Andreas Dangel
345bb24a25 [release] prepare for next development iteration 2023-09-30 17:15:59 +02:00
Andreas Dangel
720b9a328b [release] prepare release pmd_releases/7.0.0-rc4 2023-09-30 17:15:54 +02:00
Andreas Dangel
d445b1d55c [java] Update LanguageVersionTest 2023-09-28 10:44:47 +02:00
Andreas Dangel
932ac33d15 Merge branch 'master' into pr-4397 2023-08-24 09:48:28 +02:00
Andreas Dangel
3ea4031d0e [core] PropertyDescriptor - remove deprecated methods
Update tests and usages for valueFrom/asDelimitedString
2023-08-12 11:23:20 +02:00
Andreas Dangel
b73611f013 Merge branch 'master' into pr-4380 2023-08-10 17:37:36 +02:00
Andreas Dangel
8a89a4c786 Use explicit encoding in ruleset files 2023-06-01 17:29:24 +02:00
Andreas Dangel
835b625d51 [release] prepare for next development iteration 2023-05-30 20:15:08 +02:00
Andreas Dangel
7d6d303488 [release] prepare release pmd_releases/7.0.0-rc3 2023-05-30 20:15:02 +02:00
Clément Fournier
f2cd5abbab Merge branch 'master' into clem.pmd7-refactor-cpd 2023-05-26 12:21:08 +02:00
Clément Fournier
fd0416c85a Merge branch 'master' into port-properties 2023-05-26 11:42:11 +02:00
Clément Fournier
191b9de6a1 Merge branch 'master' into pmd7-textfile-display-name 2023-05-26 11:05:11 +02:00
Andreas Dangel
bc9c43fb42 Fix tests 2023-05-05 13:19:18 +02:00
Andreas Dangel
b79e6bd92b [release] prepare for next development iteration 2023-04-29 23:39:34 +02:00
Andreas Dangel
a97e108269 [release] prepare release pmd_releases/7.0.0-rc2 2023-04-29 23:39:28 +02:00
Clément Fournier
b89970d5fe Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-04-29 19:20:38 +02:00
Clément Fournier
68a4e84b5e Merge branch 'master' into pmd7-textfile-display-name 2023-04-29 18:21:30 +02:00
Andreas Dangel
5eee9f6a13 [test] Fix rule test reporting 2023-04-21 09:02:05 +02:00
Andreas Dangel
2e21c193fe Fix externalInfoURLs in rulesets 2023-03-30 15:05:14 +02:00
Andreas Dangel
d9b2444d7e [release] prepare for next development iteration 2023-03-25 12:47:33 +01:00
Andreas Dangel
356af8b636 [release] prepare release pmd_releases/7.0.0-rc1 2023-03-25 12:30:51 +01:00
Clément Fournier
344b2cc17b Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-03-20 14:41:17 +01:00
Clément Fournier
129b111ee6 Rename PathId -> FileId 2023-03-19 23:20:49 +01:00
Clément Fournier
2d7e200db1 add PathId class 2023-03-19 13:08:14 +01:00
Clément Fournier
5db8be42a3 Merge remote-tracking branch 'upstream/master' into clem.pmd7-refactor-cpd 2023-03-17 15:39:01 +01:00
Clément Fournier
24a089bfd3 Remove duplicated dependency declaration
Causing a maven warning
Same dependency is declared 20 lines above.
2023-03-17 14:55:09 +01:00
Clément Fournier
5a662ecb3e Merge branch '7.0.x' into clem.pmd7-remove-pmd-eol 2023-03-14 21:54:45 +01:00
Clément Fournier
f55c01ac1f Merge branch '7.0.x' into port-properties 2023-03-14 21:07:35 +01:00
Clément Fournier
0b2f1517ba Merge branch '7.0.x' into clem.pmd7-refactor-cpd 2023-02-27 00:41:11 +01:00
Clément Fournier
b25c16f94d Remove usages of PMD.EOL 2023-02-20 15:17:41 +01:00
Clément Fournier
abc0b3c94e Delete pmd-test/DummyLanguageModule
Refs #2436
2023-02-18 15:55:11 +01:00
Clément Fournier
0ba2460f92 Merge branch '7.0.x' into port-properties 2023-02-17 16:27:42 +01:00
Clément Fournier
552b9e4bc0 Find problem with delimiter 2023-02-05 19:59:17 +01:00
Clément Fournier
a586a9bf11 Merge branch '7.0.x' into port-properties 2023-02-05 19:41:51 +01:00
Clément Fournier
ef365cd9aa Merge branch '7.0.x' into pmd7-language-lifecycle 2023-02-02 01:04:53 +01:00
Clément Fournier
a7cf226dae Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-30 16:28:19 +01:00
Andreas Dangel
97d05dc87d [test] Remove unused JavaUtilLoggingRule
This class was added in PMD 7 only and doesn't exist in PMD 6.
2023-01-30 14:11:59 +01:00
Andreas Dangel
19423ec4a1 [test] Remove junit/system-rules dependencies 2023-01-30 14:11:59 +01:00