PMD and Checkstyle plugins not loading up in Sonarqube Community EditionVersion 7.9.1 (build 27448)

Sonarqube server :Community Edition / Version 7.9.1 (build 27448)
I downloaded and copied the following jar files in extensions/plugin directory

  • checkstyle-sonar-plugin-4.27.jar

  • sonar-pmd-plugin-3.2.1.jar

I did this along with findbugs jar. Stopped and started the sonar service. Findbugs shows up in profile but PMD and checkstyple dont. No error in log files either.

Please advise

Hi,

Are you saying the server started up just fine, but you don’t see Checkstyle or PMD rules in your instance? If so, this might just be a corrupt Elasticsearch index. To make sure:

  • stop your server
  • delete $SONARQUBE-HOME/data/es6
  • restart the server

 
HTH,
Ann

I tried what you stated, still the same result. I don’t see them listed under quality profiles

Thanks

Hi,

How about a screenshot of that?

 
Ann

The plugins directory

The UI

Thanks

Hi,

I’ve just checked locally. It seems that Checkstyle, at least, doesn’t provide profiles, just rules. It looks like you’ll want to create your own profile.

 
Ann

Hi Ann,

Thanks for confirming, is it the same for PMD

Shyam