209 Commits

Author SHA1 Message Date
Andreas Dangel
2d9385f462 Merge branch 'master' into cli-exit-codes-processing-errors 2024-05-17 14:01:57 +02:00
Andreas Dangel
95215ecde7 Fix checkstyle 2024-05-03 10:42:24 +02:00
Andreas Dangel
a63cfb8228 [doc] New exit code 5, --no-fail-on-processing-error
Fixes #2827
2024-05-03 10:28:46 +02:00
Andreas Dangel
e667bf6773 [cli] Add new param "--no-fail-on-processing-error" 2024-05-03 09:33:46 +02:00
Andreas Dangel
0fc23fc9f4 [cli] PMD: Add new exit code 5: VIOLATIONS_OR_PROCESSING_ERRORS 2024-05-03 09:23:10 +02:00
Andreas Dangel
468266d58d [cli] CPD: Add new exit code 5: VIOLATIONS_OR_PROCESSING_ERRORS 2024-05-03 09:06:47 +02:00
Juan Martín Sotuyo Dodero
66606648a2 Merge branch 'master' into xpath-seq-attributes 2024-04-28 17:39:08 +02:00
Andreas Dangel
339e1d4f43 [release] Prepare next development version [skip ci] 2024-04-26 09:04:20 +02:00
Andreas Dangel
592e80d4a9 [release] prepare release pmd_releases/7.1.0 2024-04-26 08:35:11 +02:00
Juan Martín Sotuyo Dodero
62443a4c33 Update tree export test 2024-04-19 02:12:24 -03:00
Juan Martín Sotuyo Dodero
b723da59ac Merge branch 'master' into fix-4913 2024-04-04 23:18:58 -03:00
Andreas Dangel
4fe50978b6 Add japicmp - breaks build based on semantic versioning 2024-04-04 15:20:15 +02:00
Andreas Dangel
280b1a1ee3 Bump next version to be 7.1.0-SNAPSHOT 2024-04-04 10:49:18 +02:00
Juan Martín Sotuyo Dodero
9bdd5384ec Wait for the CPD GUI to be closed
- Fixes #4913
2024-04-03 12:11:32 -03:00
Andreas Dangel
7332d61515 [release] prepare for next development iteration 2024-03-22 09:28:44 +01:00
Andreas Dangel
0541ab8591 Revert "[release] prepare for next development iteration"
This reverts commit 27620724dcf48160f9ea91b9a02a6186400a38cd.
2024-03-22 09:01:47 +01:00
Andreas Dangel
27620724dc [release] prepare for next development iteration 2024-03-22 08:46:33 +01:00
Andreas Dangel
2e91f316f4 Revert "[release] prepare for next development iteration"
This reverts commit 0c7c0386363e41cf3d639a46352e2e875be0710a.
2024-03-22 08:44:25 +01:00
Andreas Dangel
0c7c038636 [release] prepare for next development iteration 2024-03-22 08:36:51 +01:00
Andreas Dangel
ccb123f1ff [release] prepare release pmd_releases/7.0.0 2024-03-22 08:36:44 +01:00
Juan Martín Sotuyo Dodero
daa741c817 Merge pull request #4843 from adangel/cli-banner-display
[cli] Display pmd banner, version improvement, logging
2024-03-05 16:57:31 -03:00
Andreas Dangel
754400ef2c [cli] Don't show PMD banner+version for every command
Only when calling "--version"
2024-03-05 19:42:35 +01:00
Andreas Dangel
079a13ec4b Merge branch 'master' into cli-banner-display 2024-03-05 19:40:48 +01:00
Andreas Dangel
dffc44ecde Merge branch 'master' into cleanup-todos 2024-03-05 18:53:49 +01:00
Andreas Dangel
ab0d740d81 Cleanup some TODOs 2024-03-01 12:07:48 +01:00
Andreas Dangel
aa672e9d0e [cli] Remove unnecessary logging 2024-02-29 20:49:33 +01:00
Andreas Dangel
c2a215d7b5 [cli] Display a PMD banner and more detailed version info
Generated via https://www.asciiart.eu/image-to-ascii
from docs/images/logo/pmd-logo-300px.png
2024-02-29 18:47:29 +01:00
Andreas Dangel
621cd0e013 Update to use renamed pmd-designer
See pmd/pmd-designer#80
2024-02-22 19:13:10 +01:00
Andreas Dangel
9e71e36ab1 Merge pull request #4811 from adangel:issue-4349-cleanup-deprecations
Cleanup remaining experimental and deprecated API #4811
2024-02-22 17:08:51 +01:00
Andreas Dangel
609e364861 Merge pull request #4809 from adangel:issue-4348-internal-api
[core] Consolidate @InternalApi classes #4809
2024-02-22 17:03:03 +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
1b4acab7c4 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +01:00
Andreas Dangel
bc5be45566 Merge branch 'master' into issue-4348-internal-api 2024-02-09 21:31:05 +01:00
Andreas Dangel
19496ef198 Merge pull request #4808 from adangel:issue-3905-tree-export-api
[core] Promote Tree Export API as stable #4808
2024-02-09 16:56:56 +01:00
Andreas Dangel
5931461ca9 Merge pull request #4804 from adangel:issue-4309-xpath-cleanups
[core] XPath cleanups #4804
2024-02-09 16:23:58 +01:00
Andreas Dangel
6a328d6cd0 Merge pull request #4803 from adangel:issue-3903-reporting-package
[core] Consolidate n.s.pmd.reporting package #4803
2024-02-09 15:32:55 +01:00
Andreas Dangel
2a3128fb86 Merge pull request #4799 from adangel:issue-3917-rule-package
[core] Consolidate n.s.pmd.lang.rule package #4799
2024-02-09 14:39:03 +01:00
Andreas Dangel
5599a8fd65 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-08 18:23:41 +01:00
Andreas Dangel
a76ec3410c Merge pull request #4795 from adangel:remove-ruleset-factory-compatibility
[core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility #4795
2024-02-02 19:53:51 +01:00
Andreas Dangel
5b2b03847e Merge pull request #4786 from adangel:issue-4313-remove-old-rule-reference-notation
[core] Remove support for deprecated rule set references notation #4786
2024-02-02 19:46:55 +01:00
Andreas Dangel
19f9bdde5f [core] Remove deprecated classes/methods
CpdLanguageProperties#DEFAULT_SKIP_BLOCKS_PATTERN
BaseAntlrNode#joinTextToken
Node#getNthParent
Node#getFirstChildOfType
2024-02-02 14:41:45 +01:00
Andreas Dangel
3a5ff11dc2 [core] Rename MessageReporter to PmdReporter as public API
PmdReporter is supposed to be used when configuring PMD
(see AbstractConfiguration#setReporter), so it can't be internal.

Refs #4348
2024-01-26 19:06:08 +01:00
Andreas Dangel
d9321d70f2 [core] Promote Tree Export API as stable
Fixes #3905
2024-01-25 16:26:10 +01:00
Andreas Dangel
7c29f16eac [core] Move XPathRule into subpackage lang.rule.xpath (#4309) 2024-01-19 12:52:51 +01:00
Andreas Dangel
f13cd58c7f [core] Move classes into n.s.pmd.reporting
- Report
- RuleContext
- RuleViolation
- ViolationSuppressor
- ParametricRuleViolation

Fixes #3903
2024-01-18 20:27:34 +01:00
Andreas Dangel
faaec5ed6d [core] Actually move into correct package lang.rule 2024-01-13 20:57:56 +01:00
Andreas Dangel
9e668c22fc [core] Move Rule/RuleSet related type into net.sourceforge.pmd.rule
Refs #3917
2024-01-12 18:14:04 +01:00
Andreas Dangel
ba602d1978 [core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility
Fixes #4314
Closes #4378
2024-01-11 12:05:10 +01:00
Andreas Dangel
070cca8743 Merge pull request #4628 from adangel:support-jrt-fs
[java] Support loading classes from java runtime images #4628
2024-01-05 13:51:40 +01:00
Andreas Dangel
35062c3caf Remove unneeded dependency to WireMock 2024-01-05 13:36:04 +01:00