A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/5201 below:

[core] PMD sarif schema file points to nonexistent location · Issue #5201 · pmd/pmd · GitHub

(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.

  1. Generate a sarif output PMD scan
  2. Inspect the file - it has a nonexistent $schema value

Running 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