Sonar with maven project

I have a maven project and it doesn’t have sonar plugin in Pom.xml but if I give mvn clean install sonar:sonar it is giving sonar scan . How is this possible

This is more of a Maven question, but I’ll try. :slight_smile: Maven searches for plugins automatiaclly.

But adding the plugin to your pom.xml allows you to do things like lock the version of the Scanner for Maven used.

Hello Colin,

Thanks a lot

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.