Working Configuration example for PMD with Sarif-Output-Format #5168
Answered
by
jsotuyod
hmmh-sven-scheil
asked this question in
Q&A
-
I'm using pmd with gradle-plugin and want to generate a sarif report, which should finally be uploaded to github codescan analysis. I can't find any working example for it. Is this because it does not work at all? |
Beta Was this translation helpful? Give feedback.
Answered by
jsotuyod
Aug 15, 2024
Replies: 1 comment 1 reply
-
The PMD Gradle plugin is fully managed by Gradle. They only support html and xml reports (see https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/quality/PmdReports.html ) or text output to stdout. My recommendation would be to bring the issue to them, but I'd guess they would love a PR, are very unlikely to prioritize this themselves. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hmmh-sven-scheil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The PMD Gradle plugin is fully managed by Gradle. They only support html and xml reports (see https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/quality/PmdReports.html ) or text output to stdout.
My recommendation would be to bring the issue to them, but I'd guess they would love a PR, are very unlikely to prioritize this themselves.