Thanks for the tip on -X, I always forget the debug option. I have a related question. The checkstyle report is running twice and I end up with two links in the project-reports html file with the same data. Any thoughts on why that might be happening? I haven't started debugging that one yet.
Grant On Thu, Apr 12, 2012 at 6:40 PM, Barrie Treloar <[email protected]> wrote: > On Fri, Apr 13, 2012 at 3:29 AM, Grant Lewis <[email protected]> > wrote: > > Yes, I tried all the suggested solutions including that one. On a hunch I > > went ahead and explicitly set the checkstyle version to 5.5 in the POM > and > > problem solved. I believe checkstyle 5.5 changed the method signatures on > > some of the log methods and that was causing the issue during the report > > generation. Here is what worked for me... > > Running mvn -X would have told you (in great verbosage) what version > of plugins were being loaded. > > And you would have noticed that m-checkstyle-p was not 5.5. > > It is best practice to lock down version of plugins. > > Use "The Loving Iron Fist of Maven", aka m-enforcer-p to fail your > build when someone forgets to specify a plugin version. > > Your release manager will thank you. > A sainthood is a real possibility. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
