447 Commits

Author SHA1 Message Date
Clément Fournier
ecef88aa0a Merge branch 'master' into 7.0.x 2020-01-17 12:10:51 +01:00
Andreas Dangel
6d7ded21ab [core] Add cli for ast-dump 2020-01-17 10:11:34 +01:00
Clément Fournier
cbd5f28d10 Merge branch '7.0.x' into java-grammar 2019-12-19 15:48:13 +01:00
Clément Fournier
5866d9e9dd Merge branch 'master' into 7.0.x 2019-12-19 15:00:25 +01:00
Andreas Dangel
bc2f2d8f50 [modelica] Add integration smoke test 2019-12-17 12:25:09 +01:00
Anatoly Trosinenko
20bf4ad759 [modelica] Initial implementation of Modelica support for PMD 2019-12-16 19:26:32 +03: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
Clément Fournier
f57afff745 Merge branch '7.0.x' into java-grammar 2019-11-19 03:43:06 +01:00
Clément Fournier
9f3a3dfb85 Merge branch 'master' into 7.0.x 2019-11-19 03:36:57 +01:00
Andreas Dangel
5517662381 pmd-dist: fix warning about cross platform compatibility of output directory
[WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible /
2019-11-16 22:59:44 +01:00
Andreas Dangel
c7204a56ee Fix build under Windows 2019-11-10 21:13:43 +01:00
Andreas Dangel
c0d9538144 Merge branch 'pmd/7.0.x' into java-grammar 2019-11-08 14:42:08 +01:00
Andreas Dangel
544ad701ba Merge remote-tracking branch 'origin/master' into pmd/7.0.x 2019-11-08 14:35:20 +01:00
Andreas Dangel
ee7f6d0494 [core] RuleSetFactory - recognize rule reference for same ruleset
There are two variants, how a renamed rule can be expressed in the
ruleset via a deprecated rule reference: referencing just the
new rule name or referencing the ruleset+new rule name. The latter
case was not covered yet, it was not detected, that the rule ref
references are rule in the same ruleset.

Fixes #2096
2019-11-04 20:43:38 +01:00
Andreas Dangel
c75e2bd000 [apex] Really fix ApexLexer logging
The fix introduced with #503 (fba00843bb523cbeb06157c4793ffc29bd9a6ee7)
was incomplete and didn't work:
* The logger uses the full class name insteand of simple name
* After we changed the log level of the logger, the logger
  could be garbage collected before ApexLexer retrieves it and
  thus the configuration could be lost
2019-11-02 09:47:16 +01:00
Andreas Dangel
c90004298d Merge branch 'pmd/7.0.x' into java-grammar 2019-10-31 21:21:46 +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
0a94dec8f0 Merge branch 'pr-2044'
[core] Wrong deprecation warnings for unused XPath attributes
2019-10-28 19:27:52 +01:00
Andreas Dangel
2d4b01dca2 Upgrade embedded pmd-designer to 6.19.0
Also fix integration test with the additional
language "text".
2019-10-27 19:02:03 +01:00
Andreas Dangel
6f4ccfb979 Add rule integration tests for all other supported languages 2019-10-25 19:50:48 +02:00
Clément Fournier
1bfcd91cba Merge branch 'master' into 7.0.x 2019-10-16 17:29:34 +02:00
Andreas Dangel
507f543a73 Bump commons-compress from 1.18 to 1.19 in pmd-dist
This fixes CVE-2019-12402
2019-10-14 19:40:54 +02:00
Andreas Dangel
0ff97e5959 fix:[core] Wrong deprecation warnings for unused XPath attributes
* Improve integration tests in pmd-dist to detect
  warnings about deprecated attributes.
* Wrap the attribute value in a singleton list, to be able to distinguish
  between no value (null in the list) and value not determined yet
  (list is null).
* Add integration test for apex.
* Updated release notes

fixes #2020
2019-10-13 15:55:27 +02:00
Clément Fournier
9734091f1d Ignore integration test 2019-09-25 01:14:10 +02:00
Andreas Dangel
e536ca1947 [maven-release-plugin] prepare for next development iteration 2019-09-15 10:14:14 +02:00
Andreas Dangel
3f42cca200 [maven-release-plugin] prepare release pmd_releases/6.18.0 2019-09-15 10:14:05 +02:00
Clément Fournier
b986bed9fb Merge branch 'master' into 7.0.x 2019-09-08 21:55:58 +02:00
Andreas Dangel
e225821272 Merge branch 'master' into pr-1965 2019-09-07 16:21:11 +02:00
Clément Fournier
e26133906f Merge branch 'master' into 7.0.x 2019-08-17 14:05:57 +02:00
Andreas Dangel
4a2943510c Fix excludes when creating src dist zip
The biggest part was the "vendor/**" stuff from ruby.
This is created during the build and should not be
part of the source distribution.

Also added a test to assert that some sensitive data
from .travis/ doesn't accidentally leak.
2019-08-09 21:46:03 +02:00
Chris Smith
0f7d5f1ec0 Added Scala AST Parser 2019-08-08 18:45:26 -04:00
Tomi De Lucca
443be1715f Merge branch 'pmd/7.0.x' of github.com:pmd/pmd into feature/swift-rules 2019-08-04 14:57:05 -03:00
Clément Fournier
3d11d5692d Merge branch 'master' into 7.0.x 2019-07-28 16:46:51 +02:00
Andreas Dangel
7a7971f64d [maven-release-plugin] prepare for next development iteration 2019-07-28 10:24:51 +02:00
Andreas Dangel
365e1c9e8b [maven-release-plugin] prepare release pmd_releases/6.17.0 2019-07-28 10:24:43 +02:00
Renato Oliveira
052d38200e Change return code to zero for CPD when the help command is requested through the CLI. 2019-07-18 16:24:42 -03:00
Renato Oliveira
383baaffd3 Should expect the return code to equal zero. 2019-07-16 18:14:18 -03:00
Andreas Dangel
8e3adc6ba1 Merge branch 'pr-1892' 2019-07-13 18:29:32 +02:00
Andreas Dangel
73a8e4cc69 [maven-release-plugin] prepare for next development iteration 2019-06-30 10:33:08 +02:00
Andreas Dangel
45facbd323 [maven-release-plugin] prepare release pmd_releases/6.16.0 2019-06-30 10:32:58 +02:00
Maikel Steneker
cd66277c19 Added Lua support to CPD.
The tokenizer uses an ANTLR4 grammar based on the one at https://github.com/antlr/grammars-v4/tree/master/lua.
2019-06-28 16:51:45 +02:00
Matias Fraga
de006b17f4 Fix pmd test 2019-06-20 22:22:29 -03:00
Andreas Dangel
5ac687918a [maven-release-plugin] prepare for next development iteration 2019-05-26 11:02:26 +02:00
Andreas Dangel
ba2d795f59 [maven-release-plugin] prepare release pmd_releases/6.15.0 2019-05-26 11:02:18 +02:00
Andreas Dangel
ca9c859c0b [maven-release-plugin] prepare for next development iteration 2019-04-28 10:35:44 +02:00
Andreas Dangel
cd8b2e3217 [maven-release-plugin] prepare release pmd_releases/6.14.0 2019-04-28 10:35:36 +02:00
Clément Fournier
093687048d Merge branch 'master' into 7.0.x 2019-04-11 15:18:54 +02:00