531 Commits

Author SHA1 Message Date
Andreas Dangel
bd9fa30cf3 [dist] Bump commons-compress from 1.21 to 1.26.0
Fixes https://github.com/pmd/pmd/security/dependabot/51
Fixes CVE-2024-26308
Fixes https://github.com/advisories/GHSA-4265-ccf5-phj5
2024-02-22 14:05:49 +01:00
Andreas Dangel
474274e129 [dist] Remove unnecessary exclusion for pmd-cli:sh:completion
Note: java and javascript are needed for tests in cli

Refs #4594
2024-02-22 13:00:04 +01:00
Andreas Dangel
decb759a8f [dist] Make SBOM optional in assembly descriptor
fix dist sbom
2024-02-22 12:59:56 +01:00
kenji
10ae2fae96 Add swift 5.9 support 2023-12-01 15:48:31 +01:00
Andreas Dangel
20a7f612d8 Merge pull request #4594 from Monits:runtime-completion
[cli] Change completion generation to runtime #4594
2023-10-20 12:46:35 +02:00
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