Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

How to implement SonarQube for AEM as a CLoud Service

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

View solution in original post

10 Replies

Avatar

Correct answer by
Community Advisor

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

 

Avatar

Community Advisor
  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

 

Avatar

Level 4

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?