113 Commits

Author SHA1 Message Date
11f0e8a075 [core] Rework slf4j reinitialization
- Support also subclasses of slf4j-simple: e.g. maven uses an own logger factory and own loggers
- Determine the new log level by reevaluating the configuration, similar what the constructors did
- Remove unnecessary PmdLoggerFactoryFriend
2023-05-20 10:29:07 +02:00
e3fd77a63b [core] Doc and use new CPD option --ignore-sequences 2023-05-19 10:03:29 +02:00
6b4c6b2787 Merge branch 'master' into pr-4470 2023-05-19 09:46:16 +02:00
cb62fab1c1 Merge pull request #4523 from oowekyala/pmd7.remove-core-cli
[core] Remove old CLI from pmd core
2023-05-02 11:26:29 -03:00
b79e6bd92b [release] prepare for next development iteration 2023-04-29 23:39:34 +02:00
a97e108269 [release] prepare release pmd_releases/7.0.0-rc2 2023-04-29 23:39:28 +02:00
82b4d97cb5 Remove old CLI, more doc 2023-04-29 02:52:09 +02:00
c54bd846b4 Fix #4484
- Avoid an NPE on properties.
2023-04-18 20:15:48 -03:00
85a0d7f59f Added strings as literal and ignore identifiers in sequences 2023-04-13 17:29:12 +02:00
1c2d77fd6a Introduce a pmd-languages-deps module
This is kind of a [BOM](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#bill-of-materials-bom-poms), but different: It defines hard dependencies and not just versions for dependencyManagement.
This new module depends on all languages modules and is used by pmd-cli and by pmd-dist. So, we have only one place to modify, when we add new language modules.
2023-04-06 10:20:42 +02:00
d9b2444d7e [release] prepare for next development iteration 2023-03-25 12:47:33 +01:00
356af8b636 [release] prepare release pmd_releases/7.0.0-rc1 2023-03-25 12:30:51 +01:00
6621603908 [cli] Fix NPE when only --file-list is specified 2023-03-18 11:02:08 +01:00
ef365cd9aa Merge branch '7.0.x' into pmd7-language-lifecycle 2023-02-02 01:04:53 +01:00
a7cf226dae Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-30 16:28:19 +01:00
014c28bb1e Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-30 13:36:15 +01:00
78d7033dc4 Fix compile errors 2023-01-30 10:45:52 +01:00
d8b41bab6e Merge branch 'pmd/7.0.x' into pr-4354 2023-01-30 10:21:50 +01:00
32d95a46e8 Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-27 13:55:39 +01:00
3d530458bb Remove junit and related dependencies 2023-01-27 11:49:03 +01:00
f1ee39b1f5 Migrate remaining tests to JUnit5 2023-01-27 10:26:49 +01:00
8e558eaeaf Fixes from review (#4363) 2023-01-26 18:16:39 +01:00
5c9893431f Merge branch 'pmd/7.0.x' into pmd7-pr-4214 2023-01-26 18:07:54 +01:00
3ab73b7d50 Re-add some cli tests 2023-01-26 16:53:41 +01:00
1861ae5b5f Move tests from CoreCliTest to PmdCliTest related to --relativize-paths-with 2023-01-26 10:10:22 +01:00
c659e86bea Add new option --relativize-paths-with to new cli 2023-01-26 10:10:15 +01:00
8fa35ae10d Remove old --short-names option (cli + ant) 2023-01-26 10:10:09 +01:00
310637f357 Merge remote-tracking branch 'origin/clem.pmd7-cpd-deprecations' into clem.pmd7-cpd-deprecations 2023-01-25 17:54:42 +01:00
89f959200a Merge branch '7.0.x' into clem.pmd7-cpd-deprecations 2023-01-25 17:00:10 +01:00
2078692d39 Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-25 00:48:36 +01:00
403fcdae82 [core] Move utility classes around 2023-01-23 18:47:52 +01:00
d1d10d1426 [cli] Add "--no-progress" back to PmdCliTest
When running the tests under cygwin, initializing the progressbar fails: The tests stall when executing "tty.exe" to determine the terminal type.
2023-01-22 18:33:26 +01:00
7494fc9ecd Fixes from review 2023-01-16 15:35:32 +01:00
3afe1aa6d2 Merge branch 'pmd/7.0.x' into pr-4235 2023-01-16 15:07:50 +01:00
0ad3755a2b Log debug through slf4j directly 2023-01-16 13:23:30 +01:00
c6f18c4806 Merge branch '7.0.x' into clem.pmd7-cpd-deprecations 2023-01-08 18:25:01 +01:00
729ce9c3b0 Use shorthand method
Co-authored-by: Clément Fournier <clement.fournier@tu-dresden.de>
2022-12-21 12:17:43 -03:00
8cdfe24277 Review comments 2022-12-04 18:26:21 +01:00
a653ab888e Fix short-circuit checks for tee listeners 2022-11-26 15:45:36 -03:00
1042781aa3 Rework to use an initializer class for expansion 2022-11-26 15:34:02 -03:00
bb31553e8c Delete lots of deprecated stuff in CPD core
This includes its CLI
2022-11-26 14:54:09 +01:00
eddb8f5911 Checkstyle 2022-11-25 15:48:09 -03:00
b836a35c8c [cli] Move CLI progressbar rendering to pmd-cli
- Took the chance to improve how we render it
 - Added support for interactive terminals
 - Improved the overall performance / thread-safety of report rendering to STDOUT
2022-11-25 15:24:57 -03:00
cbe98ea71a Do that with CPD tests too 2022-11-25 18:39:34 +01:00
20eb129dfe Move cli tests from lang modules to cli 2022-11-25 12:19:24 +01:00
675710d0e7 Cleanup Cli tests
Remove some deprecated things left over by #4059
2022-11-25 11:28:59 +01:00
d3ffc1d212 Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-24 20:22:58 +01:00
5a4205a877 Merge branch '7.0.x' into pr/4059 2022-11-18 11:47:18 +01:00
1f43af7d83 Change pmd run to pmd check with no aliases 2022-10-15 02:07:24 -03:00
1bcc39d6a3 PMDConfiguration to use stricter types
- No more raw Strings going around
2022-10-15 02:06:53 -03:00