SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-857

XMLProfileParser shouldn't be instantiated by plugin

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: WEB-1.0
    • Fix Version/s: WEB-1.0.2
    • Component/s: Web
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It should be retrieved as an IoC dependency - see javadocs for Sonar Plugin API 2.5.
      Moreover you should never directly instantiate classes which implements BatchComponent or ServerComponent , because they should be retrieved as an IoC dependency. Otherwise it leads to issues with backward compatibility - see wiki page "Coding a plugin".

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Matthijs Galesloot
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: