175 Commits

Author SHA1 Message Date
Andreas Dangel
91f17838d4 Change branch master to main
- Update documentation
- Update release scripts
- Update rule doc generation

GitHub Action is only triggered from "main" branch now.
2024-09-13 09:59:51 +02:00
Andreas Dangel
6ad8577880 [doc] Fix rule doc generator under Windows 2024-04-11 15:59:29 +02:00
Andreas Dangel
7979570d39 [doc] Create empty class so that javadoc jar is created
This needs to be done to fulfill the requirement of maven
central, that every artefact has to have a javadoc jar.
However, pmd-doc only contains internal classes.
2024-03-22 09:12:17 +01:00
Andreas Dangel
274497bbf4 [doc] Fix more external links 2024-03-14 16:53:48 +01:00
Andreas Dangel
7813f544e3 [doc] Fix rule doc generation and dead links
- previous existing rule docs will be deleted now
2024-02-23 17:46:39 +01:00
Andreas Dangel
45d2a6935e [doc] Internalize all classes in pmd-doc 2024-02-23 11:34:35 +01:00
Andreas Dangel
1b4acab7c4 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +01:00
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
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
5599a8fd65 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-08 18:23:41 +01:00
Andreas Dangel
90ab50ca29 [core] Remove XPathRule#XPATH_DESCRIPTOR 2024-02-08 09:00:33 +01:00
Andreas Dangel
3ec38df9b0 [core] Remove deprecated XPathVersions 2024-02-06 21:33:08 +01:00
Andreas Dangel
a76ec3410c Merge pull request #4795 from adangel:remove-ruleset-factory-compatibility
[core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility #4795
2024-02-02 19:53:51 +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
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
ba602d1978 [core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility
Fixes #4314
Closes #4378
2024-01-11 12:05:10 +01:00
Andreas Dangel
b059ecb98a Fix deprecated API usage
Fixes in pmd-doc, html, javascript,
jsp, modelica, objectivec, scala,
swift, vm
2023-12-16 18:34:55 +01:00
Andreas Dangel
bdc08e44fd [doc] Fix dead links checker 2023-11-18 11:21:17 +01:00
Andreas Dangel
92b2718da7 Fix unit test 2023-09-04 19:09:21 +02:00
Clément Fournier
fd0416c85a Merge branch 'master' into port-properties 2023-05-26 11:42:11 +02:00
Andreas Dangel
6179982002 [doc] Fix dead links 2023-03-23 10:21:10 +01:00
Andreas Dangel
0b6c349db9 Use \R for line breaks 2023-03-17 09:37:01 +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
b25c16f94d Remove usages of PMD.EOL 2023-02-20 15:17:41 +01:00
Andreas Dangel
e2bb0c8480 Reuse names and extensions for CPD language 2023-02-17 09:04:15 +01:00
Clément Fournier
13cd1e4a5b Update tests in doc module 2023-02-05 20:45:48 +01:00
Clément Fournier
a586a9bf11 Merge branch '7.0.x' into port-properties 2023-02-05 19:41:51 +01:00
Andreas Dangel
d8b41bab6e Merge branch 'pmd/7.0.x' into pr-4354 2023-01-30 10:21:50 +01:00
Andreas Dangel
712e5b56d9 Merge branch 'master' into pmd/7.0.x 2023-01-26 11:26:12 +01:00
Clément Fournier
403fcdae82 [core] Move utility classes around 2023-01-23 18:47:52 +01:00
Andreas Dangel
33315c498e [core] Refactor usage of snakeyaml
It was a dependency via apex-jorje, but there snakeyaml is actually not needed.

During generating doc, we use snakeyaml to load the sidebar and modify it. The code has been adjusted to use SafeConstructor to mitigate the risk.

Fixes https://github.com/pmd/pmd/security/dependabot/33
Fixes CVE-2022-1471
Fixes https://github.com/advisories/GHSA-mjmj-j48q-9wg2
2023-01-12 19:18:27 +01:00
Clément Fournier
98f515b92c Merge branch '7.0.x' into port-properties 2022-11-26 18:12:38 +01:00
Andreas Dangel
fcfbb33386 Merge branch 'master' into pmd/7.0.x 2022-11-25 19:05:06 +01:00
Andreas Dangel
8a0a196886 Merge branch 'master' into issue-4177-InvalidJavaBean 2022-11-24 11:19:36 +01:00
Clément Fournier
251fa45020 Merge branch '7.0.x' into pr/4028 2022-11-23 21:52:18 +01:00
Andreas Dangel
db966c574c Fix rule doc generator 2022-11-18 16:26:00 +01:00
Andreas Dangel
39dab4d5e8 Merge branch 'master' into pmd/7.0.x 2022-11-18 16:04:25 +01:00
Andreas Dangel
02ad552445 [doc] List all languages in rule doc
Even without rules.

- Relates #4205
- Relates #4105
2022-11-11 12:14:28 +01:00
Andreas Dangel
b1ce2da3b9 [doc] Fix rule doc generation when rule description is empty 2022-11-11 10:23:25 +01:00
Andreas Dangel
d6b0068f7b Merge branch 'master' into pmd/7.0.x 2022-10-28 11:26:12 +02:00
Andreas Dangel
ebf3837199 [doc] Rule doc: add maximum language version
Fixes #4140
2022-10-20 17:25:09 +02:00
Andreas Dangel
8688838190 Migrate leftover tests to JUnit5 2022-10-03 16:30:03 +02:00
Andreas Dangel
8387cd6409 Merge branch 'pmd/7.0.x' into pr-4049 2022-09-10 20:08:30 +02:00
Andreas Dangel
0e7f33f349 Merge branch 'master' into pmd/7.0.x 2022-07-30 10:15:59 +02:00
Clément Fournier
84cba78e64 wip: tear down new property syntax 2022-07-27 21:55:11 +02:00
Clément Fournier
561732b539 [doc] update doc tests 2022-07-27 19:11:40 +02:00