162 Commits

Author SHA1 Message Date
Andreas Dangel
a283615299 Refactor LanguageMetdata::extensions usages 2023-02-17 09:04:16 +01:00
Andreas Dangel
e2bb0c8480 Reuse names and extensions for CPD language 2023-02-17 09:04:15 +01:00
Andreas Dangel
d7d2ad541e Add explicit language versions (#4120) 2023-02-17 09:04:12 +01:00
Andreas Dangel
94c8c4ba0c Fix unit tests 2023-02-02 10:45:26 +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
55eabe2de1 Add back named versions 2023-01-27 15:12:14 +01:00
Clément Fournier
cef4c30af6 Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-24 22:39:59 +01:00
Andreas Dangel
88b8209958 Migrate RuleSetFactoryTests to JUnit 5 2022-10-13 17:18:13 +02:00
Andreas Dangel
00924bea75 Migrate LanguageVersionTests to JUnit5
Also move LanguageVersionTests into their language packages
and add missing tests
2022-10-13 17:17:59 +02:00
Andreas Dangel
64c8ac9d23 [kotlin] Migrate tests to Junit5 2022-07-29 17:21:34 +02:00
Clément Fournier
3cecfaf38b convert most lang mods to new base class 2022-07-21 02:10:21 +02:00
Clément Fournier
e248156d96 Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple 2022-07-10 13:53:30 +02:00
Clément Fournier
59d931cd91 Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple 2022-07-10 13:50:03 +02:00
Andreas Dangel
c79db6e5f3 [kotlin] Mark kotlin language module @Experimental 2022-07-01 14:59:39 +02:00
Andreas Dangel
9d1782d9f4 [kotlin] remove spdx-ids from tokens files 2022-06-30 15:44:24 +02:00
Andreas Dangel
b38c8969ac [kotlin] Clarify license for grammar 2022-06-30 15:27:09 +02:00
Andreas Dangel
aa4a8906ce Merge branch 'pmd/7.0.x' into kotlin-poc 2022-06-24 19:21:16 +02:00
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
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
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
cd57e8c79d Fix PMD dogfood issue - inner Visitor class should be final 2022-03-11 10:53:08 +01:00
Andreas Dangel
5dc797bae5 Fix build after merge 2022-03-11 10:52:38 +01:00
Andreas Dangel
e1f02e8d11 Use rulechain 2022-03-04 20:19:52 +01:00
Andreas Dangel
3db42ba1e9 Removed unnecessary XPath function "hasChildren" 2022-03-04 20:11:23 +01:00
Andreas Dangel
2a73c2b312 Refactor OverrideBothEqualsAndHashcode 2022-03-04 20:06:21 +01:00
Andreas Dangel
db627b4535 AbstractKotlinRule should use KotlinVisitor 2022-03-04 19:50:21 +01:00
Andreas Dangel
01d24b8ac9 Add new rule OverrideBothEqualsAndHashcode 2022-03-04 19:49:05 +01:00
Andreas Dangel
3969215635 Update ruleset, add ruleset factory test
Using pmd.website.baseurl parameter
2022-03-03 21:09:49 +01:00
Andreas Dangel
0a6e4abc75 Fix root-node-name 2022-03-03 20:58:46 +01:00
Andreas Dangel
c0150e4698 Remove unnecessary rulesets.properties 2022-03-03 20:46:58 +01:00
Andreas Dangel
4566ed4f16 Update Kotlin Grammar to 1.6-rfc+0.1
Keep the grammar as original as possible
2022-03-03 20:46:06 +01:00
Andreas Dangel
22bc2f0463 KotlinLexer doesn't need to be executable 2022-03-03 20:22:42 +01: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
d826c3574e Revert "set version to 7.0.0-kotlin-SNAPSHOT to avoid mixups in 7.0.0-SNAPSHOT in sonatype snapshots repo"
This reverts commit 051da73ce3f63277195e83c88fbe687d08b157d1.
2022-02-25 15:16:35 +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
Peter Paul Bakker
051da73ce3 set version to 7.0.0-kotlin-SNAPSHOT to avoid mixups in 7.0.0-SNAPSHOT in sonatype snapshots repo 2022-01-20 15:37:41 +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
Peter Paul Bakker
b4d7867eba add resources to the pmd-kotlin jar so rule definitions files can be found by pmd-sonar plugin 2021-11-25 15:20:29 +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
Peter Paul Bakker
bf10da5444 moved libDirectory setting for kotlin to pmd-kotlin pom.xml 2021-10-15 19:40:16 +02:00
Peter Paul Bakker
faeffd4f17 fix checkstyle issues 2021-10-15 19:23:17 +02:00