Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6592

Deprecate rule metadata annotations (sonar-check-api)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugin API, Rules, Scanner
    • Labels:
      None

      Description

      API must only provide low-level API for definition of rules (org.sonar.api.server.rule.RulesDefinition) and a XML helper (org.sonar.api.server.rule.RulesDefinitionXmlLoader). All the helpers based on the sonar-check-api annotations should be deprecated and extracted in a dedicated isolated project.
      As for XML, this project will allow plugins to use recent version of annotations (and new metadata) and still be compatible with version 4.5 LTS. Note that this is currently partially covered by the badly named "sslr-squid-bridge" library.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.henry Julien Henry
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: