Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-13 Thread Grant Lewis
Okay, the saga continues. I opted for configuring a second POM file to remove the dependency on the parent POM. Now the checkstyle plugin is only configured one time. All is good with the check but I still get the checkstyle report generated twice when I run mvn site. I turned on debug and nothing

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-13 Thread Grant Lewis
I always run a clean before I run site. It's not a leftover. The duplicate is repeatable. Whatever is causing it is inherent in my configuration or possibly some missing markup in my pom file. I'm not trying to compile anything, just run the checkstyle check. The check and report look good now.

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-13 Thread Grant Lewis
It's maven 2.2.1. I'm not overly familiar with site myself. I know maven well but not the reporting plugins as much. I'm guessing a bug in the checkstyle plugin but I can't say for sure. I dropped down to version 2.6 of the plugin, same version defined in our parent pom and the duplicate report

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Grant Lewis
I have tried all the recommended solutions thus far and none worked. The exception is not coming from Checkstyle, at least not as far as I can tell. I debugged the maven plugin (2.9.1) and I am using the latest checkstyle, 5.5. The call to executeReport in AbstractMavenReport is where the error is

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Grant Lewis
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

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Grant Lewis
. Grant On Thu, Apr 12, 2012 at 6:40 PM, Barrie Treloar baerr...@gmail.com wrote: On Fri, Apr 13, 2012 at 3:29 AM, Grant Lewis ukchuckt...@gmail.com 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

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Grant Lewis
Treloar baerr...@gmail.com wrote: On Fri, Apr 13, 2012 at 9:12 AM, Grant Lewis ukchuckt...@gmail.com wrote: 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

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Grant Lewis
Good idea to roll the second pom file. I like it, thanks! Grant On Thu, Apr 12, 2012 at 9:17 PM, Barrie Treloar baerr...@gmail.com wrote: On Fri, Apr 13, 2012 at 9:58 AM, Grant Lewis ukchuckt...@gmail.com wrote: yeah, I thought the same thing and just checked it before reading your e-mail

having problems with the scm plugin

2010-02-24 Thread Grant Lewis
As far as I can tell my configuration is correct, using Maven 2.2.1, scm 1.3 and OS X 10.6.2. The relevant parts of my POM file are included. The tags are in my parent POM file so I expect the child project to inherit. I don't really understand the difference between connection and

Re: having problems with the scm plugin

2010-02-24 Thread Grant Lewis
/${project.artifactId}/connectionUrl username${svn.username}/username password${svn.password}/password /configuration /plugin /plugins On Feb 24, 2010, at 6:51 PM, Bastian Spanneberg wrote: Grant Lewis schrieb: As far