Size limit for plugin

In SonarTS plugin’s pom.xml, I find the jar file MUST be smaller than 2300000 (2.3MB).


My jar file is 10MB+. and it works.
So my question: how many sonarqube plugin size limit is?


This configuration is specific to the SonarTS plugin. The enforcer-maven-plugin allows to put some rules like this one. Checking that the size stay within a range allows to detect packaging issues (like embedding unwanted dependencies/resources). It is not specific to SonarQube plugin development.

1 Like