381 Commits

Author SHA1 Message Date
Andreas Dangel
2bdc8a8263
Merge branch 'master' into pmd/7.0.x 2022-06-04 15:59:22 +02:00
Andreas Dangel
066b510eef
chore: Fix project.parent.relativePath in pom.xml
It must point to a file, pointing to a directory
is not valid.
2022-06-04 11:00:30 +02:00
Andreas Dangel
04c1271d88
[maven-release-plugin] prepare for next development iteration 2022-05-28 11:04:32 +02:00
Andreas Dangel
a75acdeff8
[maven-release-plugin] prepare release pmd_releases/6.46.0 2022-05-28 11:04:27 +02:00
Andreas Dangel
91342e3d8c
Merge branch 'replace-commons-io' into pmd7-replace-commons-io 2022-05-13 17:14:09 +02:00
Andreas Dangel
8addd05369
Fix tests under Windows 2022-05-13 16:43:17 +02:00
Andreas Dangel
309d1dea28
Merge branch 'replace-commons-io' into pmd7-replace-commons-io 2022-05-13 16:00:19 +02:00
Andreas Dangel
bef7eed0ec
[doc] Replace IOUtils with IOUtil 2022-05-13 12:03:16 +02:00
Andreas Dangel
753cb49e40
[all] Remove dependency to commons-io 2022-05-13 12:03:14 +02:00
Andreas Dangel
ec64315ad7
[maven-release-plugin] prepare for next development iteration 2022-04-30 09:38:24 +02:00
Andreas Dangel
1d2b40b3c0
[maven-release-plugin] prepare release pmd_releases/6.45.0 2022-04-30 09:38:19 +02:00
Clément Fournier
9f163ed9a1
WIP needs xml messages PR 2022-04-10 09:10:53 +02:00
Clément Fournier
9a5eed54ad
Merge branch '7.0.x' into port-properties 2022-04-09 22:42:20 +02:00
Andreas Dangel
be3e941a08
[maven-release-plugin] prepare for next development iteration 2022-03-27 17:01:59 +02:00
Andreas Dangel
6859f8db36
[maven-release-plugin] prepare release pmd_releases/6.44.0 2022-03-27 17:01:54 +02:00
Andreas Dangel
69fb502883
[maven-release-plugin] prepare for next development iteration 2022-02-26 10:01:08 +01:00
Andreas Dangel
dd0ee6190b
[maven-release-plugin] prepare release pmd_releases/6.43.0 2022-02-26 10:01:03 +01:00
Andreas Dangel
06363dbf69
[doc] Use slf4j 2022-02-18 18:19:54 +01:00
Clément Fournier
8cc7c7bbea
Merge branch '7.0.x' into analysis-listener 2022-02-07 00:54:47 +01:00
Clément Fournier
9f110e9099
Merge branch '7.0.x' into port-properties 2022-01-30 16:39:07 +01:00
Andreas Dangel
dc19597020
[maven-release-plugin] prepare for next development iteration 2022-01-29 09:53:38 +01:00
Andreas Dangel
391c32589f
[maven-release-plugin] prepare release pmd_releases/6.42.0 2022-01-29 09:53:32 +01:00
Andreas Dangel
6c5cf17d18
Merge branch 'master' into pmd/7.0.x 2022-01-20 15:45:14 +01:00
Andreas Dangel
54127c281f
Merge branch 'master' into pmd/7.0.x 2022-01-13 18:53:09 +01:00
Andreas Dangel
1743a3b989
Revert "dogfood - suppress ReturnEmptyCollectionRatherThanNull"
This reverts commit 7173f65a8733aef2e98cf7ade3828e0acaf8c6d8.
2022-01-10 18:21:41 +01:00
Andreas Dangel
7173f65a87
dogfood - suppress ReturnEmptyCollectionRatherThanNull 2022-01-10 17:41:42 +01:00
Andreas Dangel
0c56fef887
Merge branch 'master' into pmd/7.0.x 2022-01-09 20:22:36 +01:00
Andreas Dangel
c454d2c167
Bump snakeyaml from 1.26 to 1.30 2021-12-20 10:45:59 +01:00
Clément Fournier
913d0ab272
Merge branch '7.0.x' into analysis-listener 2021-12-16 16:31:50 +01:00
Andreas Dangel
3a97618d5d
[maven-release-plugin] prepare for next development iteration 2021-11-27 11:21:17 +01:00
Andreas Dangel
ac68de1f51
[maven-release-plugin] prepare release pmd_releases/6.41.0 2021-11-27 11:21:12 +01:00
Andreas Dangel
f12710071f
[maven-release-plugin] prepare for next development iteration 2021-10-30 10:00:20 +02:00
Andreas Dangel
be09a31654
[maven-release-plugin] prepare release pmd_releases/6.40.0 2021-10-30 10:00:15 +02:00
Andreas Dangel
9404c28fa8
Merge branch 'master' into pmd/7.0.x 2021-10-23 13:14:16 +02:00
Andreas Dangel
1cae88061d
Fix missing import j.u.s.Stream 2021-10-22 14:30:44 +02:00
lujie
3b791b49c7 fix resource leak due to Files.walk 2021-10-19 11:33:27 +08:00
Andreas Dangel
0399bbbfc8
[maven-release-plugin] prepare for next development iteration 2021-09-25 13:46:09 +02:00
Andreas Dangel
90b051bfff
[maven-release-plugin] prepare release pmd_releases/6.39.0 2021-09-25 13:46:04 +02:00
Andreas Dangel
65af1c0675
[maven-release-plugin] prepare for next development iteration 2021-08-28 17:27:18 +02:00
Andreas Dangel
7d11a02052
[maven-release-plugin] prepare release pmd_releases/6.38.0 2021-08-28 17:27:12 +02:00
Andreas Dangel
821f7a849b
[maven-release-plugin] prepare for next development iteration 2021-07-31 19:02:07 +02:00
Andreas Dangel
18df47ce6e
[maven-release-plugin] prepare release pmd_releases/6.37.0 2021-07-31 19:01:59 +02:00
Clément Fournier
62ca0edb2a
Merge branch '7.0.x' into analysis-listener 2021-07-08 15:23:00 +02:00
Andreas Dangel
f68bf5ce05
[maven-release-plugin] prepare for next development iteration 2021-06-26 10:24:15 +02:00
Andreas Dangel
45d1605a03
[maven-release-plugin] prepare release pmd_releases/6.36.0 2021-06-26 10:24:07 +02:00
Andreas Dangel
5fbf9b2921
Merge branch 'master' into pmd/7.0.x 2021-06-10 17:52:32 +02:00
Andreas Dangel
ceaad8e8be
[doc] Consider deprecated/renamed rules when generating rule docs 2021-06-10 17:41:58 +02:00
Andreas Dangel
9fdfecf731
[maven-release-plugin] prepare for next development iteration 2021-05-29 07:24:47 +02:00
Andreas Dangel
b49fb2014d
[maven-release-plugin] prepare release pmd_releases/6.35.0 2021-05-29 07:24:39 +02:00
Clément Fournier
10186c85ba Merge branch 'master' into 7.0.x 2021-04-30 12:49:10 +02:00
Andreas Dangel
b1cf527ac6 [doc] Remove editme button for language index pages
Fixes #3230
2021-04-29 10:02:57 +02:00
Andreas Dangel
319900cd43 [maven-release-plugin] prepare for next development iteration 2021-04-24 16:41:17 +02:00
Andreas Dangel
bfeaa1b377 [maven-release-plugin] prepare release pmd_releases/6.34.0 2021-04-24 16:41:10 +02:00
Clément Fournier
7214de30b5 Cleanup pmd-doc build log 2021-04-20 21:19:42 +02:00
Andreas Dangel
37e5525fd5 [maven-release-plugin] prepare for next development iteration 2021-03-27 16:25:18 +01:00
Andreas Dangel
dc1c9d0aed [maven-release-plugin] prepare release pmd_releases/6.33.0 2021-03-27 16:25:13 +01:00
Andreas Dangel
e0de01ebe9 [maven-release-plugin] prepare for next development iteration 2021-02-27 09:44:05 +01:00
Andreas Dangel
0848e230d0 [maven-release-plugin] prepare release pmd_releases/6.32.0 2021-02-27 09:43:58 +01:00
Andreas Dangel
2ea0328678 [maven-release-plugin] prepare for next development iteration 2021-01-30 18:04:17 +01:00
Andreas Dangel
7d6e6239c5 [maven-release-plugin] prepare release pmd_releases/6.31.0 2021-01-30 18:04:08 +01:00
Clément Fournier
fe5d1e49f1 Fix tests 2020-12-13 04:17:40 +01:00
Clément Fournier
d60b780e73 Merge branch 'core-parser-tasks' into analysis-listener 2020-12-13 03:35:20 +01:00
Clément Fournier
789e4aa730 Fix tests 2020-12-12 20:17:38 +01:00
Clément Fournier
14df02e3cf Cleanup more tests 2020-12-12 18:55:38 +01:00
Clément Fournier
94028a1ce6 Remove deprecated ctors of RuleSetFactory 2020-12-12 17:38:40 +01:00
Andreas Dangel
d284ea9634 [maven-release-plugin] prepare for next development iteration 2020-12-12 09:42:10 +01:00
Andreas Dangel
d2e4fb4ca3 [maven-release-plugin] prepare release pmd_releases/6.30.0 2020-12-12 09:42:02 +01:00
Andreas Dangel
384d32ddd0 Merge branch 'master' into pmd/7.0.x 2020-12-11 19:48:54 +01:00
Andreas Dangel
bcbf588bba Rename RuleSetLoadException 2020-12-11 18:35:41 +01:00
Clément Fournier
2876c48b32 Merge branch 'core-parser-tasks' into analysis-listener 2020-12-11 00:45:11 +01:00
Clément Fournier
6aef869a74 Merge branch 'ruleset-factory-builder' into core-parser-tasks 2020-12-11 00:38:31 +01:00
Clément Fournier
141c51b0ab Fix ant tests
Report was being rendered mutliple times
2020-11-24 14:43:27 +01:00
Clément Fournier
b0df6a8248 Update pmd-doc module to use newer apis 2020-11-24 13:18:30 +01:00
Clément Fournier
f8f11715a6 Fix merge 2020-11-15 20:55:51 +01:00
Clément Fournier
4426d3de3f Merge branch 'ruleset-factory-builder' into analysis-listener 2020-11-13 17:09:44 +01:00
Clément Fournier
271691c743 Fix merge 2020-10-27 00:59:58 +01:00
Andreas Dangel
5dfac0b03a Merge branch 'master' into pmd/7.0.x 2020-10-24 12:23:45 +02:00
Andreas Dangel
4837c8dbc8 [maven-release-plugin] prepare for next development iteration 2020-10-24 10:17:24 +02:00
Andreas Dangel
81f12d3e5d [maven-release-plugin] prepare release pmd_releases/6.29.0 2020-10-24 10:17:15 +02:00
Clément Fournier
9fc24fd037 Merge branch 'master' into 7.0.x 2020-10-13 23:06:27 +02:00
Andreas Dangel
69a3914a77 [doc] Renamed/Moved rules are missing in documentation (Fixes #2823)
Include deprecated rule references conditionally
when loading rulesets via RuleSetFactory
2020-10-10 17:02:13 +02:00
Andreas Dangel
92bab9b595 pmd-doc: Add test case for renamed rules
Uses the pattern documented in rule deprecation policy.
The rule reference should be deprecated to get a deprecation
warning, if it is still used.
2020-10-10 16:29:33 +02:00
Stefan Birkner
22db2fdebc Use JUnit's TemporaryFolder rule
Don't reinvent the wheel. TemporaryFolder already takes care of cleaning
up the created files.
2020-10-03 22:59:16 +02:00
Andreas Dangel
aa245c6e1b [maven-release-plugin] prepare for next development iteration 2020-09-26 10:25:16 +02:00
Andreas Dangel
722f3ca997 [maven-release-plugin] prepare release pmd_releases/6.28.0 2020-09-26 10:25:05 +02:00
Andreas Dangel
c59af0aee6 [maven-release-plugin] prepare for next development iteration 2020-08-31 18:30:18 +02:00
Andreas Dangel
856950f0d2 [maven-release-plugin] prepare release pmd_releases/6.27.0 2020-08-31 18:30:09 +02:00
Clément Fournier
b344875247 Update rule doc generator 2020-08-28 18:14:43 +02:00
Clément Fournier
fe006d407d Change default delimiter to comma 2020-08-28 18:14:43 +02:00
Clément Fournier
a9efe39944 Remove multi value properties 2020-08-28 18:14:18 +02:00
Clément Fournier
f13f250e92 Remove more stuff 2020-08-28 18:14:17 +02:00
Clément Fournier
285e7f2e94 Merge branch 'master' into 7.0.x 2020-08-25 14:53:48 +02:00
XenoAmess
327eaaedf6 use StandardCharsets 2020-08-24 16:30:04 +08:00
Andreas Dangel
49ab75aeb7 [maven-release-plugin] prepare for next development iteration 2020-07-25 13:45:36 +02:00
Andreas Dangel
a9632e2a06 [maven-release-plugin] prepare release pmd_releases/6.26.0 2020-07-25 13:45:27 +02:00
Clément Fournier
49d0d2aebc Merge branch 'master' into 7.0.x 2020-07-23 15:55:13 +02:00
Clément Fournier
d239987d26 Merge branch 'master' into issue-2615 2020-07-23 14:15:47 +02:00
Andreas Dangel
55a6b5bef5 [doc] Fix unit tests on Windows 2020-07-23 13:53:52 +02:00
Andreas Dangel
8c06dbcd4c [doc] Improve performance of rule doc generator
Now we walk PMD source tree only once to resolve the
file names to rulesets and rules instead walking the
whole tree again for each ruleset/rule.
2020-07-23 13:03:19 +02:00
Clément Fournier
2e9f5ad897 Merge branch 'master' into issue-2615 2020-07-20 16:36:16 +02:00
Andreas Dangel
dcaa8a1167 Merge branch 'master' into pmd/7.0.x 2020-07-17 16:13:02 +02:00
Andreas Dangel
e24a26e211 Merge branch 'pr-2629'
[all] Dependencies cleanup #2629
2020-07-17 12:07:03 +02:00
Andreas Dangel
17e57633b5 Merge branch 'master' into pr-2597 2020-07-16 18:25:59 +02:00
Andreas Dangel
bb005ea5d4 Refactor exec-maven-plugin version and usage 2020-07-16 18:21:26 +02:00
Andreas Dangel
1ca84d56c1 Merge branch 'pr-2590'
Update libraries snyk is referring to as `unsafe` #2590
2020-07-13 20:09:23 +02:00
Andreas Dangel
3004e76257 [core] CPD: Add correct XML 1.0 escaping for code snippets 2020-07-03 21:11:57 +02:00
Andreas Dangel
67f33e3427 Add back hamcrest (it's actually test-runtime) 2020-07-02 21:00:43 +02:00
Andreas Dangel
370c0b0b6d Remove unused dependency, explicitly declare used dependencies 2020-07-02 15:12:31 +02:00
Andreas Dangel
95d8e80c1b [maven-release-plugin] prepare for next development iteration 2020-06-27 11:31:27 +02:00
Andreas Dangel
a219b2e1be [maven-release-plugin] prepare release pmd_releases/6.25.0 2020-06-27 11:31:16 +02:00
Artem Krosheninnikov
2b882e8655 fix issue #2594, update exec-maven-plugin everywhere 2020-06-18 00:48:57 +03:00
Artem Krosheninnikov
6068f57e28 Update jcommander, logback-classic and snakeyaml 2020-06-13 21:23:25 +03:00
Andreas Dangel
c3219b91c5 Merge branch 'master' into pmd/7.0.x 2020-06-12 14:21:10 +02:00
Andreas Dangel
8defb2fde2 Add missing relativePath configuration in all pom modules 2020-06-07 12:36:58 +02:00
Andreas Dangel
510d5c633a Merge branch 'master' into pmd/7.0.x 2020-05-24 17:47:30 +02:00
Andreas Dangel
ab04bdacdd [maven-release-plugin] prepare for next development iteration 2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca [maven-release-plugin] prepare release pmd_releases/6.24.0 2020-05-24 17:34:25 +02:00
Andreas Dangel
561825703f [doc] Fix rule tags in the rule docs
If using quotes, there was a html escape done, which made
the rule tag renderer to spit out "quot".
2020-05-23 13:07:25 +02:00
Andreas Dangel
2dae9c085f Merge branch 'master' into pmd/7.0.x 2020-05-23 11:42:20 +02:00
Andreas Dangel
5f3ff0aed8 Remove hamcrest dependency, where it is not needed directly.
Use scope compile for hamcrest in pmd-lang-test
2020-05-22 11:36:49 +02:00
Artem Krosheninnikov
3fba3f6217 Update hamcrest to 2.2, Junit to 4.13, mockito to 2.28.2 2020-05-04 23:00:28 +03:00
Clément Fournier
fed55b0725 Merge branch 'master' into 7.0.x 2020-05-01 16:13:52 +02:00
Artem Krosheninnikov
3a72f3c4fa update maven-compiler-plugin to 3.8.1 and remove workaround for a bug in IDEA that was closed 2020-04-26 14:27:37 +03:00
Andreas Dangel
4308c545e5 [maven-release-plugin] prepare for next development iteration 2020-04-24 10:53:12 +02:00
Andreas Dangel
921c65f5ab [maven-release-plugin] prepare release pmd_releases/6.23.0 2020-04-24 10:53:00 +02:00
Clément Fournier
af4504293c Hide some deprecated APIs 2020-04-20 11:14:30 +02:00
Clément Fournier
491e513775 Merge branch 'doc-renderer' 2020-04-20 09:46:57 +02:00
Andreas Dangel
1c8c631637 Merge branch 'master' into pmd/7.0.x 2020-04-19 21:06:32 +02:00
Andreas Dangel
08d31c62a9 Merge branch 'master' into pr-2377 2020-04-16 17:52:03 +02:00
Andreas Dangel
3621eed40d Merge remote-tracking branch 'origin/master' into pmd/7.0.x 2020-04-13 12:34:03 +02:00
Andreas Dangel
a007b0b0cc Fix dead links 2020-04-11 21:22:35 +02:00
Clément Fournier
1de1d1c66d Update some usages early 2020-04-08 22:00:36 +02:00
Clément Fournier
0d65c2e6e6 Add relevant property tag 2020-03-20 18:47:40 +01:00
Andreas Dangel
4c020bfbf7 [maven-release-plugin] prepare for next development iteration 2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7 [maven-release-plugin] prepare release pmd_releases/6.22.0 2020-03-12 15:15:09 +01:00
Clément Fournier
ec1eb208eb Merge branch 'master' into 7.0.x 2020-01-24 23:48:22 +01:00
Clément Fournier
d90d5d267c Remove trailing whitespace everywhere 2020-01-24 23:40:06 +01:00
Clément Fournier
58fa793e67 Fix indentation in poms
For some reason pmd-apex and pmd-apex-jorje
use 2 spaces while the rest use 4.
2020-01-24 23:17:26 +01:00
Andreas Dangel
d994700617 [maven-release-plugin] prepare for next development iteration 2020-01-24 17:20:47 +01:00
Andreas Dangel
a28e9e22e5 [maven-release-plugin] prepare release pmd_releases/6.21.0 2020-01-24 17:20:38 +01:00
Clément Fournier
0459d0379c Merge branch 'master' into 7.0.x 2020-01-05 20:31:39 +01:00
Clément Fournier
05870c98cc Deprecate RulesetFactory constructors 2019-12-24 14:39:20 +01:00
Andreas Dangel
00392cefc2 [maven-release-plugin] prepare for next development iteration 2019-11-29 19:46:14 +01:00
Andreas Dangel
78da370fb8 [maven-release-plugin] prepare release pmd_releases/6.20.0 2019-11-29 19:46:05 +01:00
Andreas Dangel
31fdb59be0 Merge remote-tracking branch 'origin/master' into pmd/7.0.x 2019-10-31 20:59:13 +01:00
Andreas Dangel
deec9c44b2 [maven-release-plugin] prepare for next development iteration 2019-10-31 18:36:51 +01:00
Andreas Dangel
2881b6f585 [maven-release-plugin] prepare release pmd_releases/6.19.0 2019-10-31 18:36:42 +01:00
Andreas Dangel
c134f23d7c Move all doc checks into the profile "generate-rule-docs" 2019-10-26 11:52:20 +02:00
Andreas Dangel
7ae9247518 Generate rule docs only with maven profile "generate-rule-docs"
For travis build, PMD needs to be built now before jekyll can
generate the documentation.
In the main build, rule docs are not committed anymore.
2019-10-26 11:51:33 +02:00
Andreas Dangel
e536ca1947 [maven-release-plugin] prepare for next development iteration 2019-09-15 10:14:14 +02:00