Andreas Dangel
3f697aff35
[ant] Formatter: avoid reflective access to determine console encoding
...
- for java 17+, there is public API to get the console encoding
-> no problem
- for older java versions, try to use system property
sun.jnu.encoding if it exists
- only then use the fall-backs with illegal reflective access
to private fields/methods on java.io.Console
- Also avoid using reflection utils from apache commons, instead
use reflection directly. The illegal access warnings are then
properly reported against our class
net.sourceforge.pmd.ant.Formatter.
Fixes #1860
2024-10-25 18:33:36 +02:00
Andreas Dangel
c179834288
[release] Prepare next development version [skip ci]
2024-10-25 09:28:54 +02:00
Andreas Dangel
7739f2b840
[release] prepare release pmd_releases/7.7.0
2024-10-25 09:07:54 +02:00
Andreas Dangel
5fe19b2096
[release] Prepare next development version [skip ci]
2024-09-27 11:43:22 +02:00
Andreas Dangel
d8d4d3d061
[release] prepare release pmd_releases/7.6.0
2024-09-27 11:08:53 +02:00
Andreas Dangel
2ed25964b8
[release] Prepare next development version [skip ci]
2024-08-30 10:52:17 +02:00
Andreas Dangel
74ada426af
[release] prepare release pmd_releases/7.5.0
2024-08-30 10:31:09 +02:00
Andreas Dangel
ee800d326f
[release] Prepare next development version [skip ci]
2024-07-26 10:11:46 +02:00
Andreas Dangel
db5fa2dbce
[release] prepare release pmd_releases/7.4.0
2024-07-26 09:03:38 +02:00
Andreas Dangel
9bf476ac4f
[core] Don't log warning about skipLexicalErrors twice
...
Fixes #5091
2024-07-05 12:07:28 +02:00
Andreas Dangel
d952a10790
[release] Prepare next development version [skip ci]
2024-06-28 11:27:41 +02:00
Andreas Dangel
c5dbc29bea
[release] prepare release pmd_releases/7.3.0
2024-06-28 11:00:04 +02:00
Andreas Dangel
e93ca46b5a
[cli] Add exit code for processing errors ( #4991 )
...
Merge pull request #4991 from adangel:cli-exit-codes-processing-errors
2024-06-27 14:41:51 +02:00
Andreas Dangel
b5f6d4e68a
[core] Update report schema location to https://pmd.github.io/schema/report_2_0_0.xsd
2024-06-27 09:11:26 +02:00
Andreas Dangel
33f9268cf7
[core] Provide a backwards compatible XMLOldRenderer as "xmlold"
2024-06-23 20:42:45 +02:00
Andreas Dangel
d285082709
Updated doc to mention 7.3.0
2024-06-21 19:23:55 +02:00
Andreas Dangel
724b3afe95
Merge branch 'master' into cli-exit-codes-processing-errors
2024-06-21 19:14:17 +02:00
Andreas Dangel
28c6c8e121
[release] Prepare next development version [skip ci]
2024-05-31 13:21:14 +02:00
Andreas Dangel
38bc997d4e
[release] prepare release pmd_releases/7.2.0
2024-05-31 12:57:36 +02:00
Andreas Dangel
0fe477ec06
Fixups from PR review
...
- release notes: API Changes
- fix javadoc since tags
- improve messages in ant task for deprecated skipLexicalErrors
2024-05-20 09:25:06 +02:00
Andreas Dangel
603187e41b
Update javadoc
2024-05-17 16:37:37 +02:00
Andreas Dangel
10c78f26de
[cpd] Deprecate skipLexicalErrors
2024-05-17 16:20:23 +02:00
Andreas Dangel
b624b41673
[ant] Add new CPD parameter failOnError
2024-05-17 16:20:23 +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
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
Andreas Dangel
2c2a384c7d
Merge branch 'master' into japicmp
2024-04-04 16:43:29 +02:00
Juan Martín Sotuyo Dodero
eaec0dad28
Merge pull request #4923 from adangel/fix-checkstyle-config
...
Fix checkstyle config and checkstyle issues
2024-04-04 10:27:23 -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
Andreas Dangel
d88a3c50fe
Fix checkstyle config and checkstyle issues
2024-04-04 10:46:05 +02: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
Andreas Dangel
dffc44ecde
Merge branch 'master' into cleanup-todos
2024-03-05 18:53:49 +01:00
Andreas Dangel
93bf4d59cd
Merge branch 'master' into issue-4794-java-22
2024-03-04 18:28:35 +01:00
Andreas Dangel
ab0d740d81
Cleanup some TODOs
2024-03-01 12:07:48 +01:00
Andreas Dangel
b036931995
Fix javadoc/dokka configuration
2024-02-27 19:49:23 +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
ccebca525c
Ignore empty catch block
2024-02-15 17:05:07 +01:00
Andreas Dangel
ac2c52e220
[ant] Fix ant Formatter with Java 22
...
Java 22 provides a real console from System.console()
even if it is non-interactive. In that case, we need to
check whether we have a terminal.
2024-02-15 16:54:27 +01:00
Andreas Dangel
1b4acab7c4
Merge branch 'master' into issue-4349-cleanup-deprecations
2024-02-10 12:36:58 +01:00
Andreas Dangel
b0818362e7
[ant] Add javadoc, internalize ReportException
2024-02-10 11:57:11 +01:00
Andreas Dangel
7c5bf74402
[core] Consolidate internal api in n.s.p.lang.rule
...
RuleSet#applies
RuleSetLoader#loadRuleSetsWithoutException
RuleSetLoadException ctors
2024-02-10 09:58:53 +01:00
Andreas Dangel
bc5be45566
Merge branch 'master' into issue-4348-internal-api
2024-02-09 21:31:05 +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