On Nov 19, 2007 9:30 PM, DanBarker85 <[EMAIL PROTECTED]> wrote: > > Thanks for your response. Adding the jar as an extension in the build was > the original option I chose, as was detailed in the Maven tutorial. I think > i've tried all combinations, but maybe it doesn't find the jar file
I found extensions didn't work, but a dependency in the build/plugins sections did: e.g checkstyle:checkstyle-patch-1882332:4.3 contains my custom check. <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <dependencies> <dependency> <groupId>checkstyle</groupId> <artifactId>checkstyle-patch-1882332</artifactId> <version>4.3</version> </dependency> </dependencies> > > [ERROR] Unable to process package names location: > > com/name/maven/checks/packagenames.xml > > java.io.IOException: Unable to find location > > 'com/name/maven/checks/packagenames.xml' as URL, File or Resource. When you run with -X you can see what file Maven is trying to resolve for your packagenames.xml. Double check that your custom check jar contains this file. (Mine was in the wrong location initiallly) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]