AEM INTEGRATION

we have installed sonarqube server and integrated with Jenkins, we are able to successfully scan many applications using maven and sonar goal. Now we need to integrate the aem application with sonarqube and Jenkins, Currently the aem dev team uses maven to build their packages and do not have unit tests in it.

Can someone guide me some best practices of integrating with aem using maven or cli ?

sonar version : Community Edition , Version 8.4.2 (build 36762)
sonar-scanner version : 4.6.0.2311

Hey there.

There is a community-supported plugin for AEM (GitHub - wttech/AEM-Rules-for-SonarQube: SonarQube plugin with set of rules detecting possible bugs and bad smells specific for AEM development.). They may be able to help you there.