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 : 188.8.131.521