576 Commits

Author SHA1 Message Date
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
184d83b501
Merge remote-tracking branch 'adangel/html-jsoup' into pmd7-html-jsoup 2022-04-22 14:37:25 +02:00
Andreas Dangel
b413d86d08
[html] Add support for HTML using jsoup parser 2022-03-31 17:08:45 +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
jeickhoff
9ca8176d3e Fix pmd-test with progress bar flag 2022-03-25 16:35:49 +01:00
Andreas Dangel
cbc7352324
Merge branch 'pmd/7.0.x' into kotlin-poc 2022-03-11 10:16:12 +01:00
Clément Fournier
b212e6497b
Doc, initial log level message is reported at INFO 2022-03-05 11:47:57 +01:00
Andreas Dangel
9c35b03937
Merge branch 'pmd/7.0.x' into kotlin-poc 2022-03-04 20:15:06 +01:00
Andreas Dangel
3b7e775fe7
Silence out pushd/popd 2022-02-26 14:35:08 +01:00
Andreas Dangel
fd6f521079
Apply suggestions from code review
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-02-26 11:35:56 +01:00
Andreas Dangel
2091c78ead
Merge branch 'pmd/7.0.x' into pmd7-896-slf4j 2022-02-26 11:29:11 +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
b21cb6a9fc
Fix BinaryDistributionIT - kotlin is now one of the PMD languages 2022-02-25 15:33:19 +01:00
Andreas Dangel
0c80e35f39
Enable AllRulesIT for java 2022-02-25 11:59:49 +01:00
Andreas Dangel
868a664d77
Fix tests 2022-02-19 11:32:23 +01:00
Andreas Dangel
c2f99dc834
Merge branch 'pmd/7.0.x' into pmd7-896-slf4j 2022-02-19 10:44:22 +01:00
Andreas Dangel
02464a2e2a
[dist] Enable test "runPMD" again - most rules are migrated now 2022-02-19 10:36:55 +01:00
Andreas Dangel
765cf3c92a
Merge branch 'master' into pmd/7.0.x 2022-02-19 10:25:28 +01:00
Andreas Dangel
c166613c0f
[dist] Add integration test for --debug flag 2022-02-17 18:54:37 +01:00
Andreas Dangel
ad86896682
[dist] Adjust default logging configuration 2022-02-17 18:54:37 +01:00
Andreas Dangel
5c7af91688
[dist] Add default simplelogger.properties 2022-02-17 18:54:36 +01:00
Clément Fournier
ee1e43a952
Fix #3427 - Stop printing usage test on error 2022-02-12 21:05:04 +01:00
Andreas Dangel
41c6d260fb
Merge branch 'master' into pmd/7.0.x 2022-01-29 10:08:59 +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
Andreas Dangel
93811d3449
Merge pull request #3726 from adangel:issue-3328-designer-bat
[core] Handle quotes correctly in designer.bat and other *.bat files
#3726

* pr-3726:
  [core] Handle quotes correctly in designer.bat and other *.bat files
2022-01-27 14:23:40 +01:00
Andreas Dangel
afc8a11020
Merge branch 'master' into pmd/7.0.x 2022-01-20 12:36:44 +01:00
Andreas Dangel
922ef7cbd4
More code style changes for varargs (#3744) 2022-01-17 18:51:18 +01:00
Andreas Dangel
308173a0fc
[core] Handle quotes correctly in designer.bat and other *.bat files
Fixes #3328
2022-01-13 17:16:07 +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
Andreas Dangel
6e63a15c94
Merge branch 'master' into pmd/7.0.x 2021-11-26 11:03:17 +01:00
Andreas Dangel
cd19c451cd
Only run the AntIT under linux
"script" under macosx seems to be somehting different
2021-11-18 17:34:36 +01:00
Andreas Dangel
655fdd6c08
[dist] Downgrade ant to 1.9.16 for java7 compat it 2021-11-18 17:09:29 +01:00
Andreas Dangel
d7774be75e
[dist] Add java17, make ant test fail 2021-11-18 11:10:53 +01:00
Andreas Dangel
d8fbd24e69
[dist] Add integration test for ant 2021-11-18 09:15:23 +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
Andreas Dangel
0399bbbfc8
[maven-release-plugin] prepare for next development iteration 2021-09-25 13:46:09 +02:00
Andreas Dangel
90b051bfff
[maven-release-plugin] prepare release pmd_releases/6.39.0 2021-09-25 13:46:04 +02:00
Andreas Dangel
65af1c0675
[maven-release-plugin] prepare for next development iteration 2021-08-28 17:27:18 +02:00
Andreas Dangel
7d11a02052
[maven-release-plugin] prepare release pmd_releases/6.38.0 2021-08-28 17:27:12 +02:00
Andreas Dangel
489f28edd3
Merge branch 'master' into pmd/7.0.x 2021-08-22 16:53:55 +02:00
Andreas Dangel
c961c74458
Bump commons-compress from 1.19 to 1.21
CVE-2021-36090: https://github.com/advisories/GHSA-mc84-pj99-q6hh
CVE-2021-35516: https://github.com/advisories/GHSA-crv7-7245-f45f
CVE-2021-35515: https://github.com/advisories/GHSA-7hfm-57qf-j43q
CVE-2021-35517: https://github.com/advisories/GHSA-xqfj-vm6h-2x34
2021-08-16 19:29:40 +02:00
Andreas Dangel
821f7a849b
[maven-release-plugin] prepare for next development iteration 2021-07-31 19:02:07 +02:00
Andreas Dangel
18df47ce6e
[maven-release-plugin] prepare release pmd_releases/6.37.0 2021-07-31 19:01:59 +02:00
Andreas Dangel
f68bf5ce05
[maven-release-plugin] prepare for next development iteration 2021-06-26 10:24:15 +02:00
Andreas Dangel
45d1605a03
[maven-release-plugin] prepare release pmd_releases/6.36.0 2021-06-26 10:24:07 +02:00
Andreas Dangel
9fdfecf731
[maven-release-plugin] prepare for next development iteration 2021-05-29 07:24:47 +02:00
Andreas Dangel
b49fb2014d
[maven-release-plugin] prepare release pmd_releases/6.35.0 2021-05-29 07:24:39 +02:00
Andreas Dangel
12ec6d60af
Merge pull request #3242 from adangel:issue-699-upgrade-rhino-java8
[javascript] Update Rhino library to 1.7.13 #3242
2021-05-21 11:03:22 +02:00
Andreas Dangel
baf929f178 Merge branch 'master' into pmd/7.0.x 2021-05-08 20:34:49 +02:00
Clément Fournier
fdf3e5cb03 Fix #2466 include all batch scripts in archive 2021-05-06 13:54:48 +02:00
Andreas Dangel
1081448e5d [pmd-dist] Exclude javascript in java7 AllRules integration test 2021-04-29 15:13:04 +02:00
Andreas Dangel
cab260ed22 [javascript] Update Rhino library to 1.7.13
*   Convert pmd-javascript to a java8 module
*   Fixes #699
*   Fixes #2081
2021-04-29 15:01:48 +02:00
Andreas Dangel
319900cd43 [maven-release-plugin] prepare for next development iteration 2021-04-24 16:41:17 +02:00
Andreas Dangel
bfeaa1b377 [maven-release-plugin] prepare release pmd_releases/6.34.0 2021-04-24 16:41:10 +02:00
Andreas Dangel
37e5525fd5 [maven-release-plugin] prepare for next development iteration 2021-03-27 16:25:18 +01:00
Andreas Dangel
dc1c9d0aed [maven-release-plugin] prepare release pmd_releases/6.33.0 2021-03-27 16:25:13 +01:00
Clément Fournier
936289af6b Merge branch 'master' into 7.0.x 2021-03-26 16:37:11 +01:00
Andreas Dangel
35790704b4 Merge branch 'master' into pr-3161 2021-03-25 20:00:25 +01:00
Henning von Bargen
64dfebf618 Test cases and bug fixes for lexical parameters and exclusion 2021-03-05 17:24:49 +01:00
Andreas Dangel
e0de01ebe9 [maven-release-plugin] prepare for next development iteration 2021-02-27 09:44:05 +01:00
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
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
Clément Fournier
a8d40342f7 Fix compil, remove dependency on xpath 2020-12-11 10:57:39 +01:00
Clément Fournier
823f78c425 Merge branch 'master' into 7.0.x
Refs #2864
2020-12-11 10:11:40 +01:00
Clément Fournier
898c301ce0 Merge branch 'master' into pr/2864 2020-11-24 12:06:07 +01:00
Andreas Dangel
bad14719c0 Merge branch 'master' into pmd/7.0.x 2020-11-14 19:35:13 +01:00
Andreas Dangel
574bccb6bf Adjust integration test for new folder .ci 2020-11-13 21:10:52 +01:00
jbartolotta-sfdc
0348b2c0d2
Merge branch 'master' into issue1092-vf-escape-false-positives 2020-11-12 10:39:10 -08:00
Jeff Bartolotta
6f7bebcecd
Configure visualforce to require Java 8
pmd-visualforce depends on pmd-apex. pmd-apex relies on Java 8. This change configures pmd-visualforce to also require Java 8.

This is a breaking change that will need to be documented.
2020-10-28 15:10:26 -07: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
Clément Fournier
9fc24fd037 Merge branch 'master' into 7.0.x 2020-10-13 23:06:27 +02:00
Stefan Birkner
22db2fdebc Use JUnit's TemporaryFolder rule
Don't reinvent the wheel. TemporaryFolder already takes care of cleaning
up the created files.
2020-10-03 22:59:16 +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
Clément Fournier
7b4d318567 Merge branch '7.0.x' into java-grammar 2020-08-25 14:56:16 +02:00
Clément Fournier
285e7f2e94 Merge branch 'master' into 7.0.x 2020-08-25 14:53:48 +02:00
XenoAmess
c5e2234763 use try with resource 2020-08-24 16:50:41 +08:00
Andreas Dangel
dec835f299 Merge branch 'pmd/7.0.x' into java-grammar 2020-08-06 18:23:42 +02:00
Andreas Dangel
feefc08c56 Fix test - endcolums are exclusive now 2020-08-06 12:43:34 +02:00
Andreas Dangel
494b34f6d7 Update pmd-dist integration test for openjdk8 2020-08-06 12:39:37 +02:00
Andreas Dangel
63af9c14c0 Cleanup pmd-dist profile 2020-08-06 11:51:38 +02:00
Andreas Dangel
483c8796be Merge branch 'master' into pmd/7.0.x 2020-08-06 11:43:08 +02:00
Andreas Dangel
4cf9f5904a [core] Fix java7 compatibility
* Scala also requires java8 and it failed indirectly via a
  ServiceConfigurationError while discovering the language.
  Scala's dependencies require java8.
* Downgrade JCommander for java7 compatibility
* Downgrade commons-text for java7 compatibility
* Add integration test
2020-08-01 17:53:45 +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
Andreas Dangel
c7d884c629 Merge branch 'pmd/7.0.x' into java-grammar 2020-07-17 16:38:12 +02:00
Andreas Dangel
dcaa8a1167 Merge branch 'master' into pmd/7.0.x 2020-07-17 16:13:02 +02:00
Andreas Dangel
67f33e3427 Add back hamcrest (it's actually test-runtime) 2020-07-02 21:00:43 +02:00
Andreas Dangel
370c0b0b6d Remove unused dependency, explicitly declare used dependencies 2020-07-02 15:12:31 +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
cdeff1ab5c Merge branch 'pmd/7.0.x' into java-grammar 2020-06-12 14:35:09 +02:00
Andreas Dangel
c3219b91c5 Merge branch 'master' into pmd/7.0.x 2020-06-12 14:21:10 +02:00
Andreas Dangel
8defb2fde2 Add missing relativePath configuration in all pom modules 2020-06-07 12:36:58 +02:00
João Ferreira
f3e1f68594 fix pmd-dist 2020-05-31 11:59:46 +01:00
Andreas Dangel
ab04bdacdd [maven-release-plugin] prepare for next development iteration 2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca [maven-release-plugin] prepare release pmd_releases/6.24.0 2020-05-24 17:34:25 +02:00
Andreas Dangel
18749b01ec Merge branch 'pmd/7.0.x' into java-grammar 2020-05-23 12:05:24 +02:00
Andreas Dangel
2dae9c085f Merge branch 'master' into pmd/7.0.x 2020-05-23 11:42:20 +02:00
Andreas Dangel
6049126228 Merge branch 'pr-2465'
[dependencies] Upgrade hamcrest, mockito and JUnit #2465
2020-05-22 11:46:04 +02:00
Andreas Dangel
5f3ff0aed8 Remove hamcrest dependency, where it is not needed directly.
Use scope compile for hamcrest in pmd-lang-test
2020-05-22 11:36:49 +02:00
Clément Fournier
2dcf4598d8 Merge branch '7.0.x' into java-grammar 2020-05-13 17:47:40 +02:00
Clément Fournier
b3db34042f Merge branch 'master' into 7.0.x 2020-05-13 17:47:21 +02:00
Fernando Cosso
4f96286902 Implementing changes from the discussion 2020-05-07 11:49:52 -04:00
Artem Krosheninnikov
3fba3f6217 Update hamcrest to 2.2, Junit to 4.13, mockito to 2.28.2 2020-05-04 23:00:28 +03:00
Andreas Dangel
4308c545e5 [maven-release-plugin] prepare for next development iteration 2020-04-24 10:53:12 +02:00
Andreas Dangel
921c65f5ab [maven-release-plugin] prepare release pmd_releases/6.23.0 2020-04-24 10:53:00 +02:00
Andreas Dangel
4c020bfbf7 [maven-release-plugin] prepare for next development iteration 2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7 [maven-release-plugin] prepare release pmd_releases/6.22.0 2020-03-12 15:15:09 +01:00
Clément Fournier
83b8827a26 Merge branch '7.0.x' into java-grammar 2020-01-24 23:49:31 +01:00
Clément Fournier
ec1eb208eb Merge branch 'master' into 7.0.x 2020-01-24 23:48:22 +01:00
Clément Fournier
d90d5d267c Remove trailing whitespace everywhere 2020-01-24 23:40:06 +01:00
Clément Fournier
450eb62b1f Merge branch 'master' into 7.0.x 2020-01-24 20:11:43 +01:00
Clément Fournier
988ee1c9da Update integration test
The plain text language of the designer is
not registered through LanguageRegistry anymore
since pmd-ui 6.21.0, so that regular PMD
cannot access it
2020-01-24 19:44:22 +01:00
Andreas Dangel
d994700617 [maven-release-plugin] prepare for next development iteration 2020-01-24 17:20:47 +01:00
Andreas Dangel
a28e9e22e5 [maven-release-plugin] prepare release pmd_releases/6.21.0 2020-01-24 17:20:38 +01:00
Clément Fournier
8d38036015 Merge branch '7.0.x' into java-grammar 2020-01-17 15:03:06 +01:00
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
Maikel Steneker
1e31e792f9 Adjusted pmd-dist unit test to include Dart in the list of supported languages. 2019-04-05 17:22:04 +02:00
Maikel Steneker
8db2026735 Added Dart support to CPD.
The tokenizer uses an ANTLR4 grammar based on the one at https://github.com/antlr/grammars-v4/tree/master/dart2.
2019-04-05 17:04:00 +02:00
Clément Fournier
2ef63354ea Merge branch 'master' into 7.0.x 2019-04-01 02:02:04 +02:00
Andreas Dangel
5818abc0c7 [maven-release-plugin] prepare for next development iteration 2019-03-31 12:07:07 +02:00
Andreas Dangel
4ed549f0b2 [maven-release-plugin] prepare release pmd_releases/6.13.0 2019-03-31 12:06:56 +02:00
Andreas Dangel
335d138424 Introduce env variable PMD_JAVA_OPTS
That way, additional java options can be set for executing PMD
2019-03-16 11:55:38 +01:00
Clément Fournier
134d3d745e Merge branch 'master' into 7.0.x 2019-03-11 22:16:13 +01:00
Andreas Dangel
d42aa3915e Add property "pmd-designer.version", update release procedure
For now, we'll reference the latest pmd-designer release manually,
that is atm 6.12.0.
This means, if a new pmd-designer should be shipped with a PMD release,
the designer will need to be released first.
2019-03-11 15:32:18 +01:00
Andreas Dangel
4bb1d9327d [maven-release-plugin] prepare for next development iteration 2019-02-24 08:57:18 +01:00
Andreas Dangel
41e77bc34b [maven-release-plugin] prepare release pmd_releases/6.12.0 2019-02-24 08:57:10 +01:00
Andreas Dangel
3bfa33ab0d Merge remote-tracking branch 'origin/master' into pmd/7.0.x 2019-01-27 19:50:28 +01:00
Andreas Dangel
63cd6d0f5c [maven-release-plugin] prepare for next development iteration 2019-01-27 13:25:00 +01:00
Andreas Dangel
ea2776f70c [maven-release-plugin] prepare release pmd_releases/6.11.0 2019-01-27 13:24:51 +01:00
Andreas Dangel
ea2fb21924 Merge branch 'pr-1450' 2019-01-27 11:51:29 +01:00
Andreas Dangel
dcb8bb42a2 [maven-release-plugin] prepare for next development iteration 2018-12-09 10:42:20 +01:00
Andreas Dangel
27374d8592 [maven-release-plugin] prepare release pmd_releases/6.10.0 2018-12-09 10:42:09 +01:00
Clément Fournier
725f8d7039 Merge branch 'master' into 7.0.x 2018-11-27 18:09:31 +01:00
Maikel Steneker
de4a2b3cfe Merge remote-tracking branch 'pmd/master' into kotlin 2018-11-12 12:56:53 +01:00
Andreas Dangel
99e0e6f284 Rework pmd-dist so that it is usable for custom PMD distributions
* the scripts are now in resources and included in pmd-dist jar artifact
* the baseDirectory can be overridden using a property
* the assembly descriptors are also in the pmd-dist jar artifact
2018-11-10 20:27:35 +01:00
Maikel Steneker
eb23b3ce38 Adjusted pmd-dist unit test to include Kotlin in the list of supported languages. 2018-11-07 15:21:29 +01:00
Maikel Steneker
ff55a230d5 Added Kotlin support to CPD.
The tokenizer uses the ANTLR4 grammar based on the one at https://github.com/shadrina/kotlin-grammar-antlr4 (via https://github.com/antlr/grammars-v4/).
2018-11-07 14:49:56 +01:00
Clément Fournier
b78af8b42c Remove old GUI applications 2018-11-04 16:11:13 +01:00
Andreas Dangel
38ab2abc46 Merge branch 'master' into pmd/7.0.x 2018-10-28 19:39:32 +01:00
Andreas Dangel
3c50db2439 [maven-release-plugin] prepare for next development iteration 2018-10-28 16:49:09 +01:00
Andreas Dangel
7e4e859c5f [maven-release-plugin] prepare release pmd_releases/6.9.0 2018-10-28 16:48:57 +01:00
Clément Fournier
b62b216b29 Merge branch 'pr-1399' 2018-10-27 22:55:10 +02:00
Clément Fournier
39f87ca5f3 Update schema location in rulesets 2018-10-27 21:02:16 +02:00
Andreas Dangel
d3880ed349 Update commons-compress to 1.18 2018-10-22 08:39:06 +02:00
Andreas Dangel
547d11bdd4 Merge branch 'pr-1389' 2018-10-17 19:34:39 +02:00
Juan Martín Sotuyo Dodero
5b736feefd Don't depend on realpath being installed 2018-10-15 04:54:18 -03:00
Juan Martín Sotuyo Dodero
b75ca07e8e Allow symlinking the run script 2018-10-15 04:14:21 -03:00
Will Herrmann
cba4e87acd Replacing deprecated IO methods with ones that specify a charset
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
Andreas Dangel
d8586382f6 [maven-release-plugin] prepare for next development iteration 2018-09-30 10:10:21 +02:00
Andreas Dangel
161d9cd6d6 [maven-release-plugin] prepare release pmd_releases/6.8.0 2018-09-30 10:10:12 +02:00
Andreas Dangel
42b494189d Update integration test to use a sample-ruleset and run once with
the quickstart ruleset.
2018-09-30 09:08:43 +02:00
Andreas Dangel
291d36d841 [maven-release-plugin] prepare for next development iteration 2018-09-02 14:27:42 +02:00
Andreas Dangel
b98bd0bb96 [maven-release-plugin] prepare release pmd_releases/6.7.0 2018-09-02 14:27:33 +02:00
Andreas Dangel
53a763d901 Make run.sh / designer.bat compatible with java/openjfx
* Use JAVAFX_HOME to add extra classpath for openjfx
* Add back the jre_specific_vm_options when needed
2018-08-15 23:25:22 +02:00
Andreas Dangel
707781600f Use openjfx dependencies from maven central
* Can use the release flag of maven-compiler-plugin again
* Make the openjfx dependencies as provided, so that they
  don't end up in pmd-bin-*.zip
2018-08-15 23:23:55 +02:00
Andreas Dangel
20f52700b4 [maven-release-plugin] prepare for next development iteration 2018-07-29 12:07:05 +02:00
Andreas Dangel
868f262c21 [maven-release-plugin] prepare release pmd_releases/6.6.0 2018-07-29 12:06:56 +02:00
Andreas Dangel
167cb97337 Fix missing full_ver in run.sh 2018-07-29 11:26:27 +02:00
Andreas Dangel
2a39c7a4d0 Fix sed script to be MacOSX compatible 2018-07-28 12:31:15 +02:00
Andreas Dangel
45af47af4c Fixes #1225 [core] Error in sed expression on line 82 of run.sh
while detecting installed version of Java
2018-07-23 17:30:19 +02:00
Andreas Dangel
444beeb220 [maven-release-plugin] prepare for next development iteration 2018-06-26 09:34:01 +02:00
Andreas Dangel
211002bb34 [maven-release-plugin] prepare release pmd_releases/6.5.0 2018-06-26 09:07:11 +02:00
Juan Martín Sotuyo Dodero
dd249e1c36 Merge branch 'pr-1192' 2018-06-24 19:28:03 -03:00
Andreas Dangel
fb6b4aa883 Use DesignerStarter for Windows, too 2018-06-18 20:40:25 +02:00
Andreas Dangel
fd3f58ba59 Simplified check if javafx is available before starting the designer 2018-06-18 20:38:56 +02:00
Clément Fournier
76ecd31999 Unclutter designer console output
We turn off the css logger, and allow RichTextFX to access internal javafx API to avoid
the illegal access warning.
2018-06-17 14:15:05 +02:00
Andreas Dangel
48d54b0af2 Set version to 7.0.0-SNAPSHOT 2018-06-17 11:08:05 +02:00
Andreas Dangel
677cf9a298 Change starter script to support early access java builds 2018-05-30 22:09:01 +02:00
Clément Fournier
ab536988d8 Fix starter script
It didn't consume correctly trailing info (eg date on java 10).
This is a horribly mistake and makes the script fail on a JRE 10.
We could consider updating the binary distribution for 6.4.0...
@jsotuyod @adangel
2018-05-30 17:58:46 +02:00
Juan Martín Sotuyo Dodero
a788d4b586 [maven-release-plugin] prepare for next development iteration 2018-05-29 13:58:54 -03:00
Juan Martín Sotuyo Dodero
e9d78ede3c [maven-release-plugin] prepare release pmd_releases/6.4.0 2018-05-29 13:58:44 -03:00
Andreas Dangel
1b190be3b1 Replace nbsp (U+00A0) with normal space (U+0020)
Avoiding bash error:
run.sh: line 82: $'[\302\240pmd': command not found
2018-05-28 21:54:32 +02:00
Juan Martín Sotuyo Dodero
75ea178df4 Merge branch 'pr-1053' 2018-05-20 02:55:25 -03:00
Andreas Dangel
85874e7e9c [maven-release-plugin] prepare for next development iteration 2018-04-29 09:54:45 +02:00
Andreas Dangel
10c66fbf38 [maven-release-plugin] prepare release pmd_releases/6.3.0 2018-04-29 09:54:36 +02:00
Clément Fournier
7d7c2dc94a Add known issue disclaimer 2018-04-26 15:02:55 +02:00
Clément Fournier
7a4a5496aa Support java10 correctly 2018-04-26 14:45:42 +02:00
Clément Fournier
6e1c2482f8 Support windows 2018-04-26 14:42:19 +02:00
Clément Fournier
5e819c5826 Make the ast treeview autoscroll when selecting a node that's not
visible
2018-04-26 14:42:12 +02:00
Andreas Dangel
f3ab54d6da [maven-release-plugin] prepare for next development iteration 2018-03-26 09:23:23 +02:00
Andreas Dangel
59b360a60a [maven-release-plugin] prepare release pmd_releases/6.2.0 2018-03-26 09:23:14 +02:00
Andreas Dangel
f335e83043 Cleanup pom.xml files 2018-03-23 10:21:16 +01:00
Andreas Dangel
098b0dcac0 [maven-release-plugin] prepare for next development iteration 2018-02-25 09:53:26 +01:00
Andreas Dangel
101b71a13e [maven-release-plugin] prepare release pmd_releases/6.1.0 2018-02-25 09:53:19 +01:00
Andreas Dangel
18c79a34f4 Fix deprecations 2018-02-18 20:25:42 +01:00
Andreas Dangel
2087dd9472 Fix integration test - scala is now active always 2018-02-18 20:24:04 +01:00
Andreas Dangel
74ae8d0d6e Remove profile jdk9-disabled - scala is now active always 2018-02-18 19:07:37 +01:00