Your understanding is perfectly correct Frederic.
You just need the following piece of information :
Any violations on a rule not known by Sonar is ignored. You first need to declare this home made rules on the Sonar rules repository.
cheers,
Freddy
On Wed, Oct 14, 2009 at 9:05 AM, Frederic Camblor
<fcamblor@...> wrote:
Hi folks,
I just looked at the 1.11 release note and I wonder what is the real behaviour behind the all new sonar.reuseExistingRulesConfiguration maven parameter.
If I well understandd this parameter, it allows us to not duplicate checkstyle (and pmd and so on...) XML configuration among :
- the sonar quality profile
- the maven checkstyle plugin
=> the only one used will be the maven one
Nevertheless, what I don't understand is "how sonar know how to map 'home made checkstyle rules' into rules compliance categories ?" (the *-extension.xml)
I am a newbie with the sonar maven plugin, so maybe I misunderstand something in the workflow ... but it isn't clear in my mind :-)
Cheers,
Frédéric