Sonar has its own set of plugins (e.g. maven-checkstyle-plugin) which it is running when being invoked. These plugins are automatically configured according to your project settings in your configured Sonar server.
The reasoning behind this to have a controlled configuration in your sonar instance.
The reason it is working automatically for you is that you are using the default values for your sonar server installation (localhost:9000).
This 'zero-configuration' approach is further detailed here: We had a dream : mvn sonar:sonar
Read full article from java - Why Maven command MVN sonar:sonar works without any plugin configuration in my POM.xml? - Stack Overflow
No comments:
Post a Comment