576 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
2fa80cbc34 Merge branch 'pr-4640' 2023-10-19 20:44:11 -03:00
Juan Martín Sotuyo Dodero
0e94fe55d1 Fix issue for conf dir too 2023-10-19 20:43:17 -03:00
Juan Martín Sotuyo Dodero
2e4e1275d4 Merge branch 'master' into runtime-completion 2023-10-19 20:32:19 -03:00
Andreas Dangel
c6db11610c
Bump pmd-designer from 7.0.0-rc1 to 7.0.0-SNAPSHOT
Also remove jcommander, this is not needed anymore
2023-09-29 14:06:22 +02:00
Andreas Dangel
357548cdad
Merge pull request #4638 from adangel:issue-4583-jdk-21
[java] Support JDK 21 (LTS) #4638
2023-09-28 11:58:51 +02:00
Andreas Dangel
15ea5f0c00
Merge branch 'master' into issue-4583-jdk-21 2023-09-28 10:04:42 +02:00
Andreas Dangel
4d185d5a76
Merge branch 'master' into pr-4605 2023-09-28 09:26:01 +02:00
Andreas Dangel
a93c8f2b7b
[doc] Add JDK21 to the build for integration testing
Note: This is using 21-ea for now
2023-08-10 15:37:35 +02:00
Andreas Dangel
c2710c9a91
Fix pmd-dist tests 2023-08-10 15:36:28 +02:00
Shai Bennathan
56ae02ad35
Update pmd-dist/src/main/resources/scripts/pmd
Co-authored-by: Juan Martín Sotuyo Dodero <juansotuyo@gmail.com>
2023-08-07 15:32:11 +03:00
Shai Bennathan
295ee304a4
Issue: Launch failure via bin/bash
Currently if run.sh is launched via 'bin/bash run.sh', when run.sh is not in the local directory (i.e., accessed via path env var) it thinks it runs in the local directory.
This change makes sure that all cases are covered.
Tested on local Ubuntu 22.04.
2023-08-07 12:51:09 +03:00
Andreas Dangel
aeb1504079
[apex] Update jorje to latest version from 2023-06-05
Fixes #3973
2023-06-24 22:46:16 +02:00
Clément Fournier
c54d3bb304
Merge branch 'master' into clem.pmd7-refactor-cpd 2023-06-10 14:08:47 +02:00
Juan Martín Sotuyo Dodero
2fc4cb9929
Remove completion dependency from dist 2023-06-09 11:42:54 -03:00
Juan Martín Sotuyo Dodero
5a55af46d3 Change completion generation to runtime
- We no longer ship a pre-built completion script
 - A hidden subcommand is available to generate it dynamically based on
   actually available languages.
 - We update docs everywhere accordingly.
2023-06-08 00:28:58 -03:00
Andreas Dangel
c11237828a
[dist] Fix duplicated dependency 2023-06-01 08:43:46 +02:00
Andreas Dangel
835b625d51
[release] prepare for next development iteration 2023-05-30 20:15:08 +02:00
Andreas Dangel
7d6d303488
[release] prepare release pmd_releases/7.0.0-rc3 2023-05-30 20:15:02 +02:00
Andreas Dangel
25e230aff0
[dist] Add jcommander back
This dependency is needed by pmd-designer 7.0.0-rc1, which is shipped with the distribution.
2023-05-30 19:18:24 +02:00
Clément Fournier
bd42296c0c
Fix distribution IT 2023-05-29 15:25:41 +02:00
Clément Fournier
bf647357c6
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-05-28 13:42:49 +02:00
Andreas Dangel
ce6a3e25a1
Merge branch 'master' into fix-assembly-finalName 2023-05-28 09:02:21 +02:00
Clément Fournier
f2cd5abbab
Merge branch 'master' into clem.pmd7-refactor-cpd 2023-05-26 12:21:08 +02:00
Andreas Dangel
11c06fdb03
Merge branch 'master' into pr-4431 2023-05-19 09:00:56 +02:00
Andreas Dangel
b79e6bd92b
[release] prepare for next development iteration 2023-04-29 23:39:34 +02:00
Andreas Dangel
a97e108269
[release] prepare release pmd_releases/7.0.0-rc2 2023-04-29 23:39:28 +02:00
Clément Fournier
b89970d5fe
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-04-29 19:20:38 +02:00
Clément Fournier
d23b52ffc3
Cleanup 2023-04-29 00:36:36 +02:00
Clément Fournier
640ad6cf1d
Merge branch 'master' into pr/4403 2023-04-29 00:32:14 +02:00
Clément Fournier
5c5f94e4a6
Merge branch 'master' into pr/4402 2023-04-29 00:09:16 +02:00
Andreas Dangel
dffab8e4fb
Fix comment [skip ci] 2023-04-20 21:02:36 +02:00
Andreas Dangel
3cf0ba2b3f
[dist] Fix pmd.bat script
Fixes #4482
2023-04-20 20:56:39 +02:00
Andreas Dangel
07758415c0
Merge branch 'master' into pr-4485 2023-04-20 17:07:16 +02:00
Andreas Dangel
dec7c7dabc
[dist] Add integration test for ast-dump 2023-04-20 17:02:50 +02:00
Juan Martín Sotuyo Dodero
08d362aa66
Merge pull request #4462 from adangel/create-sbom
Provide Software Bill of Materials (SBOM)
2023-04-19 00:08:00 -03:00
Andreas Dangel
ba6d3894a5
Update assembly descriptor XSD 2023-04-06 12:54:55 +02:00
Andreas Dangel
ae0bf240d7
Provide Software Bill of Materials (SBOM)
- Add cyclonedx plugin to generate SBOM (Software Bill of Materials)
- The SBOM is attached and deployed into maven central
- The SBOM is also included in the binary distribution of PMD

See https://github.com/CycloneDX/cyclonedx-maven-plugin
2023-04-06 12:49:37 +02:00
Andreas Dangel
d77ebbe9b7
Fix assembly-plugin warnings
Don't override "finalName" anymore. This however changes the filenames of the generated binary distribution files.
2023-04-06 11:38:46 +02:00
Andreas Dangel
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
Clément Fournier
837c7952f5
Merge branch 'master' into clem.pmd7-refactor-cpd 2023-04-04 22:11:38 +02:00
Andreas Dangel
1ef32e4a3f
Merge branch 'master' into pr-4403 2023-04-04 19:37:53 +02:00
Andreas Dangel
490e019307
Merge branch 'master' into pr-4402 2023-04-04 19:27:15 +02:00
Andreas Dangel
d9b2444d7e
[release] prepare for next development iteration 2023-03-25 12:47:33 +01:00
Andreas Dangel
356af8b636
[release] prepare release pmd_releases/7.0.0-rc1 2023-03-25 12:30:51 +01:00
wener
fa1c51caef Added Coco language 2023-03-23 11:55:16 +01:00
Andreas Dangel
b41a4f9cdd
Merge branch 'master' into pr-4389 2023-03-23 10:28:39 +01:00
Clément Fournier
5db8be42a3
Merge remote-tracking branch 'upstream/master' into clem.pmd7-refactor-cpd 2023-03-17 15:39:01 +01:00
Clément Fournier
590c46bac8
Fix reported CPD languages test 2023-03-17 14:30:01 +01:00
Andreas Dangel
5ab95a3e59
Revert changes to BinaryDistributionIT, only add kotlin-1.8 2023-03-16 11:38:54 +01:00
Clément Fournier
5a662ecb3e
Merge branch '7.0.x' into clem.pmd7-remove-pmd-eol 2023-03-14 21:54:45 +01:00
Andreas Dangel
96389a44b6
Fix tests 2023-03-09 10:15:12 +01:00
Andreas Dangel
0c0d6f33ad
[kotlin] Update grammar to version 1.8 2023-03-09 09:35:40 +01:00
Clément Fournier
0b2f1517ba
Merge branch '7.0.x' into clem.pmd7-refactor-cpd 2023-02-27 00:41:11 +01:00
Clément Fournier
bf2c69921e
Fix merge 2023-02-26 16:23:12 +01:00
Clément Fournier
65725c13aa
Merge branch '7.0.x' into pr/4387 2023-02-26 16:17:30 +01:00
Clément Fournier
a8a6dd2586
Merge branch '7.0.x' into clem.pmd7-refactor-cpd 2023-02-26 16:11:13 +01:00
Clément Fournier
6c1fa1fe4f
Merge branch '7.0.x' into pr/4361 2023-02-26 15:37:59 +01:00
Clément Fournier
50577f2b40
Rewrite binaryDistributionIt to be easier to maintain 2023-02-26 15:33:36 +01:00
Clément Fournier
95b7ca32ad
Merge branch '7.0.x' into pr/4387 2023-02-26 15:07:53 +01:00
Clément Fournier
8770ad615f
Merge branch '7.0.x' into clem.pmd7-refactor-cpd 2023-02-26 14:39:35 +01:00
Andreas Dangel
fea41bcc8a
Merge branch 'pmd/7.0.x' into pr-4379 2023-02-23 11:48:43 +01:00
Andreas Dangel
d0bb4361c6
Merge branch 'master' into pmd/7.0.x 2023-02-23 11:47:14 +01:00
Paul Guyot
5660d262b4 CPD: add support for Typescript using antlr4 grammar 2023-02-23 11:44:01 +01:00
Andreas Dangel
2db7255035
Merge pull request #4395 from adangel:pmd6-support-env-CLASSPATH
[core] Support environment variable CLASSPATH with pmd.bat under Windows #4395
2023-02-23 11:26:51 +01:00
wener
636cf15009 Added support for Julia code duplication. 2023-02-21 19:30:28 +01:00
Clément Fournier
b25c16f94d
Remove usages of PMD.EOL 2023-02-20 15:17:41 +01:00
Clément Fournier
6eb50863b8
Fix last tests 2023-02-20 15:03:46 +01:00
Juan Martín Sotuyo Dodero
9a3a5f5cfe Use proper separator 2023-02-18 23:38:39 -03:00
Juan Martín Sotuyo Dodero
79d9c90d18 Fix style error 2023-02-18 23:17:30 -03:00
Juan Martín Sotuyo Dodero
2b58f285e8 Be OS agnostic 2023-02-18 22:53:33 -03:00
Juan Martín Sotuyo Dodero
4f1a307962 Fix broken call 2023-02-18 21:21:01 -03:00
Juan Martín Sotuyo Dodero
7cab83ae97 Style fixes 2023-02-18 19:20:25 -03:00
Juan Martín Sotuyo Dodero
a55cdbbcb7 Add Incremental Analysis integration tests 2023-02-18 19:20:25 -03:00
Andreas Dangel
17364a997b
[doc] CPD - use non deprecated --dir cli option 2023-02-17 11:39:03 +01:00
Andreas Dangel
d7d2ad541e
Add explicit language versions (#4120) 2023-02-17 09:04:12 +01:00
Andreas Dangel
2c3f945b4d
Merge branch 'master' into pmd/7.0.x 2023-02-16 20:53:46 +01:00
Andreas Dangel
b5ea31d53f
[core] Support environment variable CLASSPATH with pmd.bat under Windows 2023-02-16 16:40:24 +01:00
Andreas Dangel
9bcab3c820
Fix integration test 2023-02-14 19:35:51 +01:00
Andreas Dangel
7f543c6ff4
Merge branch 'pmd/7.0.x' into pmd7-java-20 2023-02-10 13:40:52 +01:00
Paul Guyot
d20592ba63 Add support for T-SQL using Antlr4 lexer 2023-02-10 11:33:58 +01:00
Andreas Dangel
cac5b15b56
[java] Fix build errors, update LanguageLevelChecker
- Update Java20PreviewTreeDumpTest to JUnit5
- Remove GuardedPatterns
- Don't use PatternExpression in case labels
- Update javadocs
2023-02-04 20:14:40 +01:00
Andreas Dangel
94c8c4ba0c
Fix unit tests 2023-02-02 10:45:26 +01:00
Andreas Dangel
014c28bb1e
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-30 13:36:15 +01:00
Andreas Dangel
5772440a79
[maven-release-plugin] prepare for next development iteration 2023-01-28 10:31:53 +01:00
Andreas Dangel
de1b12b060
[maven-release-plugin] prepare release pmd_releases/6.54.0 2023-01-28 10:31:46 +01:00
Andreas Dangel
3d530458bb
Remove junit and related dependencies 2023-01-27 11:49:03 +01:00
Andreas Dangel
1257eaff0d
Fix test BinaryDistributionIT#testPmdHelp 2023-01-27 10:35:02 +01:00
Clément Fournier
403fcdae82
[core] Move utility classes around 2023-01-23 18:47:52 +01:00
Andreas Dangel
6a6acb9b43
[maven-release-plugin] prepare for next development iteration 2022-12-31 18:22:10 +01:00
Andreas Dangel
37103451bf
[maven-release-plugin] prepare release pmd_releases/6.53.0 2022-12-31 18:22:04 +01:00
Andreas Dangel
d9538b0297
Merge remote-tracking branch 'adangel/issue-4248-zip-files' into pmd7-issue-4248-zip-files 2022-12-08 11:55:56 +01:00
Andreas Dangel
ce12835d36
Add integration tests for zip/jar files 2022-12-08 11:37:35 +01:00
Andreas Dangel
1634bd0043
[maven-release-plugin] prepare for next development iteration 2022-11-26 10:24:58 +01:00
Andreas Dangel
e90bf0f11b
[maven-release-plugin] prepare release pmd_releases/6.52.0 2022-11-26 10:24:53 +01:00
Clément Fournier
251fa45020
Merge branch '7.0.x' into pr/4028 2022-11-23 21:52:18 +01:00
Juan Martín Sotuyo Dodero
79e294b36e
Merge pull request #4161 from Monits/prep-4059
[core] Backport to PMD6 changes to accomodate PicoCli in PMD7
2022-11-10 12:34:05 -03:00
Andreas Dangel
5a4bf05493
[maven-release-plugin] prepare for next development iteration 2022-10-29 09:34:25 +02:00
Andreas Dangel
66e834049f
[maven-release-plugin] prepare release pmd_releases/6.51.0 2022-10-29 09:34:19 +02:00
Juan Martín Sotuyo Dodero
75666d9c2d Rename command to check 2022-10-15 02:07:24 -03:00
Juan Martín Sotuyo Dodero
1f43af7d83 Change pmd run to pmd check with no aliases 2022-10-15 02:07:24 -03:00