It might be a slightly dumb question since the featires have been around for a long time in IDEA, but I never had to really force developers to take care of the inspection result.
Now that I do, expecially for the dependency rules, I'm wondering what's the best way to communicate those rules to each every developer, and also TeamCity, which should be the ultimate checker here.
I've played with exporting/importing Settings.xml (IDEA's, not Maven's), and if working, it's not a suitable solution here because I cannot make sure each every developer will import the Settings, especially if there're updated often.
Maybe it's as simple as using 'Project profiles' and in this case, inspection profile is saved in the IPR (project) file instead of the IWS (user's workspace) file?
But what take precedence between IDE Profiles and Project Profiles if both share same inspections, with different configuration?