Commit Graph

145 Commits

Author SHA1 Message Date
15ea5f0c00 Merge branch 'master' into issue-4583-jdk-21 2023-09-28 10:04:42 +02:00
8db5e83a37 [cli] Add test case for CPD --file-list 2023-09-09 10:55:00 +02:00
d79df96b7d Update CpdCommand.java 2023-09-06 18:01:19 +02:00
681c52836c [core] Create CpdLanguageProperties 2023-08-24 11:14:08 +02:00
5200cc9e8a [cli] Fix javadoc 2023-08-24 09:32:01 +02:00
c6a63da887 [cli] Remove todo about slf4j 2023-08-24 09:28:49 +02:00
67cbb947ef [cli] Move option "--relativize-paths-with" up to AbstractAnalysisPmdSubcommand
It applies to both PMD and CPD
2023-08-24 09:25:29 +02:00
d061883ca6 [java] Fix CPD tests, use latest java version
Now the files need to be syntactically valid java sources.
2023-08-10 15:36:30 +02:00
835b625d51 [release] prepare for next development iteration 2023-05-30 20:15:08 +02:00
7d6d303488 [release] prepare release pmd_releases/7.0.0-rc3 2023-05-30 20:15:02 +02:00
5c436c7bca Fix cpd outputting unix paths on windows 2023-05-29 16:04:12 +02:00
ac33663e94 Fix CPD cli tests 2023-05-29 14:28:30 +02:00
bf647357c6 Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-05-28 13:42:49 +02:00
a9b96729e8 Merge branch 'master' into minimum-priority 2023-05-28 10:22:47 +02:00
f2cd5abbab Merge branch 'master' into clem.pmd7-refactor-cpd 2023-05-26 12:21:08 +02:00
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
a35d647fee [cli] Use RulePriority.name() for completion candidates
This avoids having spaces in the possible values. E.g. MEDIUM_HIGH instead of Medium High.
2023-05-09 21:52:11 +02:00
23756ec662 [cli] Support numeric values for minimum-priority 2023-05-09 20:47:18 +02:00
fa0be31c24 [cli] Add test for minimum-priority 2023-05-09 20:32:26 +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
b89970d5fe Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-04-29 19:20:38 +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
837c7952f5 Merge branch 'master' into clem.pmd7-refactor-cpd 2023-04-04 22:11:38 +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
40aa9de6e1 Checkstyle 2023-02-20 14:55:21 +01:00
60f28c5c35 Fix cli tests 2023-02-20 14:30:44 +01:00
11e2a97c5f Introduce ts language module 2023-02-20 14:09:07 +01:00
a12bbf8dde Remove duplicated options in AbstractConfiguration
Fix logging issue
2023-02-19 16:51:53 +01:00
a3831e95dc move more things into AbstractConfiguration 2023-02-19 15:39:47 +01:00
0134f5e060 Use Path instead of File in CPDConf 2023-02-19 15:02:05 +01:00
ddbfc90c14 Fix build 2023-02-12 20:06:28 +01:00
fb9f49624d Delete old CPD Language interface
reorganize cpd modules
2023-02-12 18:03:58 +01:00
8fbd830daa Style and renamings 2023-02-12 17:24:02 +01:00
f2cfd8f5a6 More refactorings 2023-02-11 18:43:37 +01:00
65d953bfb4 Progress 2023-02-11 18:10:35 +01:00
cf81809990 Change a ton of stuff in CPD 2023-02-10 18:21:23 +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