I have AEM as a Cloud Service setup on local. I want to setup SonarQube for the same. I have installed SonarQube but don't know how to integrate it with AEM.
Solved! Go to Solution.
Views
Replies
Total Likes
In your local SonarQube setup add the AEM rules jar file .
Jar file : https://github.com/wttech/AEM-Rules-for-SonarQube/releases
After that run mvn sonar:sonar on your project .
Thanks
Himanshu
Hi @nikita24tailor ,
Please refer to this guide: https://blogs.perficient.com/2019/05/15/running-a-local-sonarqube-server-with-aem-rules/
Hope that helps!
Regards,
Santosh
In your local SonarQube setup add the AEM rules jar file .
Jar file : https://github.com/wttech/AEM-Rules-for-SonarQube/releases
After that run mvn sonar:sonar on your project .
Thanks
Himanshu
How do I add the AEM rules jar file in SonarQube?
Ref: https://github.com/wttech/AEM-Rules-for-SonarQube
Done with the Restart of SonarQube but not getting how to activate the AEM rules.
AEM HTL rules are showing as Active in Quality Profile under Rules section.
But how do I setup my aem local project for the same?
Thank you, done with that.
Hi All,
we are attaching excel sheet which are referred from Adobe documentation ( covered 51 rules in Java , but attached sheet have 96 rules which are related to AEM as cloud ( dispatcher/oak index etc) https://experienceleague.adobe.com/en/docs/experience-manager-cloud-manager/content/using/custom-cod...
We followed steps to install JAR by building this git code as per Himanshu_Jain suggestion https://github.com/wttech/AEM-Rules-for-SonarQube, but how to bring other rules which are related to dispatcher /AEM specific rules related to AEM as cloud as per attached sheet.
please share suggestion to bring these rules into Sonarqube community edition.
Views
Replies
Total Likes
PFB the link
https://bimmisoi.blogspot.com/2022/02/local-instance-of-sonarqube-using.html
Hope this helps!!!
Thanks
Actually, my project is already created. I just want to integrate SonarQube with that.
The above links will help you to do that.
Views
Likes
Replies
Views
Likes
Replies