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

Remove code deprecated before 7.0 in the Plugin API

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.0
    • Component/s: Plugin API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      With the release of v8.9 LTS, we can now remove code deprecated before v7.0.

      List of classes/methods removed with a potential high impact:

      • `org.sonar.api.ExtensionProvider` Use `org.sonar.api.Plugin.Context#addExtensions()` to add objects to the container.
      • `org.sonar.api.batch.sensor.SensorDescriptor#requireProperty()`. Use `#onlyWhenConfiguration()` instead.
      • All API related to preview/issues analysis mode.
      • Coverage types (unit, IT, overall) was removed.
      • Resource perspectives. Use methods in `SensorContext`.
      • `org.sonar.api.platform.Server#getRootDir()`. Use `ServerFileSystem#getHomeDir()`.
      • `org.sonar.api.profiles.ProfileDefinition.java`. Define quality profiles with `BuiltInQualityProfilesDefinition`.

        Attachments

          Activity

            People

            Assignee:
            duarte.meneses Duarte Meneses
            Reporter:
            duarte.meneses Duarte Meneses
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: