sonar-plugin-api

September 16, 2026 · View on GitHub

Java API to develop plugins for SonarQube (Server, Cloud) and SonarQube for IDE. This component was extracted out of SonarQube and has been released independently since v9.5.

The API is built with JDK 17.

Developing plugins

See documentation here about how to use the sonar-plugin-api to develop plugins.

Dependency

The API was relocated when it was extracted out of SonarQube. Its new coordinates are:

org.sonarsource.api.plugin:sonar-plugin-api:<version>

You can find it in maven central. Also note that the version no longer follows SonarQube Server's versions. The sonar-plugin-api is now released separately.

Changelogs

See the releases for changelogs.

Deprecation Policy

See the deprecation policy.

Compatibility

Breaking changes to the API happen when the major version changes. As a result, plugins should be compatible with future versions of the API within the same major version. New APIs can be introduced in any release of the API, and plugins may want to do a runtime version check to see if they can use newly added APIs, depending on what platforms they intend to run.

The following tables indicate which API versions plugins can find at runtime:

SonarQube Server

SonarQubePlugin API
2026.4.1.12691413.8.0.4399
2026.4.0.12574413.8.0.4399
2026.3.1.12343913.5.0.4319
2026.3.0.12301413.5.0.4319
2026.2.1.12135413.5.0.4319
2026.2.0.12118413.5.0.4319
2026.1.5.12686213.4.3.4290
2026.1.4.12580213.4.3.4290
2026.1.3.12308413.4.3.4290
2026.1.2.12135613.4.3.4290
2026.1.1.12118713.4.3.4290
2026.1.0.11903313.4.3.4290
2025.6.1.11762913.4.2.4284
2025.6.0.11704213.4.2.4284
2025.5.0.11387213.2.0.3137
2025.4.8.12571713.0.0.3026
2025.4.7.12336813.0.0.3026
2025.4.6.12141213.0.0.3026
2025.4.5.12118613.0.0.3026
2025.4.4.11904913.0.0.3026
2025.4.0.11174913.0.0.3026
2025.3.0.10889212.0.0.2960
2025.2.0.10547611.3.0.2824
2025.1.8.12336611.2.0.2797
2025.1.7.12141411.2.0.2797
2025.1.6.12053011.2.0.2797
2025.1.5.11902511.2.0.2797
2025.1.0.10241811.1.0.2693
10.8.0.10020610.14.0.2599
10.7.0.9632710.11.0.2468
10.6.0.9211610.7.0.2191
10.5.1.9053110.7.0.2191
10.4.0.8728610.6.0.2114
10.3.0.8291310.2.0.1908
10.2.0.7764710.1.0.809
10.1.0.734919.17.0.587
10.0.0.684329.14.0.375
9.9.0.654669.14.0.375
9.8.0.636689.13.0.360
9.7.1.620439.11.0.290
9.7.0.615639.11.0.290
9.6.1.595319.9.0.229
9.6.0.590419.9.0.229
9.5.0.567099.6.1.114
9.4.0.54424 or earlierMatches sonarqube version

SonarQube Community Build

SonarQubePlugin API
26.9.0.12938814.0.0.4498
26.8.0.12680813.8.0.4399
26.7.0.12477113.8.0.4399
26.6.0.12353913.7.0.4381
26.5.0.12274313.5.0.4319
26.4.0.12186213.5.0.4319
26.3.0.12048713.5.0.4319
26.2.0.11930313.4.3.4290
26.1.0.11807913.4.3.4290
25.12.0.11709313.4.2.4284
25.11.0.11495713.3.0.3209
25.10.0.11431913.2.0.3137
25.8.0.11189813.0.0.3026
25.7.0.11059813.0.0.3026
25.5.0.10742811.3.0.2824
25.4.0.10589911.3.0.2824
25.3.0.10423711.2.0.2797
25.2.0.10270511.1.0.2693
25.1.0.10212211.1.0.2693

SonarQube Cloud

Current version: 13.2.0.3137

SonarQube for IDE

FlavorPlugin API
Eclipse13.4.2.4284
IntelliJ13.4.2.4284
Visual Studio13.4.2.4284
VSCode13.4.2.4284

Optimizing the execution of sensors

See here how to leverage APIs introduced recently to help optimize sensors in order to achieve faster analysis.

Have Questions or Feedback?

For support questions ("How do I?", "I got this error, why?", ...), please head to the SonarSource forum. There are chances that a question similar to yours has already been answered.

Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-)

License

Copyright SonarSource Sàrl.

Licensed under the GNU Lesser General Public License, Version 3.0