How to implement SonarQube for AEM as a CLoud Service | Adobe Higher Education
Skip to main content
Level 4
June 26, 2022
해결됨

How to implement SonarQube for AEM as a CLoud Service

  • June 26, 2022
  • 3 답변들
  • 8550 조회

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.

이 주제는 답변이 닫혔습니다.
최고의 답변: SantoshSai

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

3 답변

SantoshSai
Community Advisor
Community Advisor
June 27, 2022
Santosh Sai
Himanshu_Jain
Community Advisor
Community Advisor
June 27, 2022

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

 

Himanshu Jain
Level 4
June 29, 2022

How do I add the AEM rules jar file in SonarQube?

Himanshu_Jain
Community Advisor
Community Advisor
June 29, 2022
  1. Download aemrules-x.y.jar or build AEM Rules for SonarQube plugin.
  2. Paste it into sonarqube/extensions/plugins directory.
  3. Restart SonarQube.
  4. Go to rules section and activate AEM rules in your profile.

Ref: https://github.com/wttech/AEM-Rules-for-SonarQube

 

Himanshu Jain
Adobe Employee
June 27, 2022
Level 4
June 29, 2022

Actually, my project is already created. I just want to integrate SonarQube with that.

Adobe Employee
June 29, 2022

The above links will help you to do that.