49 Commits

Author SHA1 Message Date
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
Andreas Dangel
f7909ae78a Merge branch 'master' into pr-2963-update 2021-01-21 11:43:01 +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
Maikel Steneker
af31b3a773 Add GenericToken.getKind() to interface 2020-12-10 12:10:47 +01:00
Clément Fournier
37c2c505f3 Merge branch 'master' into ruleset-factory-builder 2020-11-24 12:49:18 +01:00
Andreas Dangel
43d291ba73 [scala] ScalaTokenizer: Make inner classes static 2020-11-23 10:25:05 +01:00
Andy Robinson
035ec0a537 [scala] fixing support for CPD-ON and CPD-OFF special comments
- minor fix ups as per PR comments
- comments are skipped and no longer tokenised
2020-11-18 13:49:32 +00:00
Andy Robinson
cb5ce5d9d1 [scala] adding support for CPD-ON and CPD-OFF special comments 2020-11-16 12:08:47 +00:00
Clément Fournier
6642f5d038 Isolate single rule pattern 2020-10-26 19:31:48 +01:00
Clément Fournier
ac864aa529 Rename 2020-10-26 19:29:19 +01: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
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
Andreas Dangel
6a4b1a7a2d [scala] Deprecate ScalaParserVisitorAdapter#zero and #combine
Those will go away with PMD 7.
2020-08-22 18:24:48 +02:00
Andreas Dangel
89140d86ce Merge branch 'master' into pr-2656 2020-08-20 09:47:16 +02:00
Andreas Dangel
acf58f1887 Check for license headers in kotlin source files 2020-07-31 20:26:27 +02:00
Andreas Dangel
5bff6ac52e Merge branch 'pr-2657'
[lang-test] Upgrade kotlintest to Kotest #2657
2020-07-30 10:31:43 +02: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
6d73eaf3c7 Fix custom parser spec
Add kotest-runner-junit5-jvm as a dependency,
in pmd-java. This makes kotest discoverable
as Junit tests, which IDEs can pick up on (at
least IntelliJ does).

Update kotlin version to latest stable (1.3.72)
2020-07-20 16:33:29 +02:00
Maikel Steneker
6fb5ac59b9 Ensure CPD uses tab width of 1 for tabs consistently
The columns that are reported by CPD were inconsistent across languages
before. A language like Java (using a JavaCC-based tokenizer) would use
a width of 8 for tabs, whereas a language like C# (using an Antlr-based
tokenizer) would use 1 instead.

This includes unit tests for most languages to ensure a tab character is
counted as 1. The configuration for JavaCC has been adjusted to respect
this as well.
2020-07-20 10:42:21 +02:00
Clément Fournier
68ae318f02 Update to kotest 2020-07-20 00:12:40 +02:00
Andreas Dangel
7b3d31246e Merge branch 'master' into pr-2624 2020-07-17 15:16:24 +02:00
Andreas Dangel
7ae424a35b Add deprecation javadocs 2020-07-17 14:43:43 +02:00
Andreas Dangel
94afdb117d Add test engines as surefire plugin dependencies
This removes junit-vintage-engine as a test dependency
as well as kotlintest-runner-junit5.
The engines are only needed during test execution, but should
not be available for test compilation.

For this to work, the latest surefire plugin is required.
2020-07-17 12:03:45 +02:00
Clément Fournier
03d03440b4 Declare junit dependencies before kotlintest ones
This is for the scala modules. Apparently
in the other order, only kotlin tests are
run.
2020-07-06 13:25:54 +02:00
Andreas Dangel
373c9b0944 Fix scala library versions 2020-07-02 20:30:54 +02:00
Andreas Dangel
370c0b0b6d Remove unused dependency, explicitly declare used dependencies 2020-07-02 15:12:31 +02:00
Clément Fournier
49635c2a66 Deprecate Rulechain visitors 2020-07-01 11:27:38 +02:00
Clément Fournier
659066ee02 Deprecate BaseLanguageModule constructor 2020-07-01 11:27:38 +02:00
Clément Fournier
d7f96e08d9 Uniformize apply across languages 2020-07-01 11:27:38 +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
Andreas Dangel
a9f61260ae [scala] Remove unnecessary surefire config 2020-06-18 19:58:16 +02:00
Clément Fournier
332e2369f5 Fix pmd warning 2020-06-14 01:22:17 +02:00
Clément Fournier
59dfa15269 Fix groovy columns 2020-06-14 01:04:32 +02:00
Clément Fournier
3df4506365 Convert scala tests 2020-06-13 23:25:24 +02:00
Andreas Dangel
425a45a006 [scala] Fix javadoc generation and upload
Due to the different project structure, the paths need
to be adjusted
2020-06-07 12:31:47 +02:00
Andreas Dangel
d8d3aa0af7 [scala] Introduce parent pom pmd-scala-common 2020-06-07 12:24:54 +02:00
Andreas Dangel
abc230c637 [scala] Refactor project structure
* Avoid using symlinks, this is very difficult to get working
  under Windows
* Provide names for the different scala modules
* Rename pmd-scala to pmd-scala-common
* Restore main module pmd-scala for backwards compatibility
2020-06-07 11:52:10 +02:00
João Ferreira
0d83b188dc fix parent 2 2020-05-31 12:11:03 +01:00
João Ferreira
050687f2d6 fix parent 2020-05-31 12:05:57 +01:00
João Ferreira
f4880f9318 refactor scala modules configuration 2020-05-31 11:59:44 +01:00