I have been trying to add custom plugins to SonarQube community edition. The main goal is to add custom rules for security checks and we found out the way to do so by adding custom plugins to SonarQube community edition. However, after building the .jar file using maven and moving it to the /extensions/plugins directory, SonarQube fails to start.
I have used JDK and maven to build the .jar package. Tried debugging as well, only error I got was that manifest file is missing the plugin key which I addded manually repackaged the .jar file but when moved to the /extensions/plugins directory, SonarQube fails to start.
The only error I found in logs was related to the Manifest file, it said “plugin key missing from the manifest file”. So, I added the plugin key, name and version in the manifest file and recompiled the .jar file but still didn’t work for me.
I would suggest you share the exact logs, as well as the manifest file and how you edited it. The more info the better. This is a community forum, we aren’t looking over your shoulder.