(Am submitting a pull request to fix this, but I do not know how to test it.)
Affects PMD Version:
7.5.0
Description:
The sarif file generated by PMD has a schema file reference that is 404. GitHub has a recommended schema URL (https://json.schemastore.org/sarif-2.1.0.json) that seems better, and it points to the same version that PMD currently uses.
Exception Stacktrace:
Code Sample demonstrating the issue:
{ "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json", "version": "2.1.0", "runs": [ { "tool": { "driver": { "name": "PMD", "version": "7.5.0", "informationUri": "https://docs.pmd-code.org/latest/", etc...
Steps to reproduce:
Please provide detailed steps for how we can reproduce the bug.
$schema
valueRunning PMD through: CLI
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4