It would be best if the maven plugin could be modified so that by default warnings were treated as errors but also made it clear in the error printout that you could proceed if you switched off 'fail on warning'. Match failures normally mean you have got something wrong so it would be better to default it this way.
Perhaps the plugin should also allow the user to specify an expected number of warnings as an alternative to counting any warning vs ignoring all warnings.