[m2] running checkstyle as part of a test

2005-10-05 Thread David Sag
I am trying to configure my pom to run the checkstyle plugin when i run the tests. Initially I tried putting this in my POM based on a tutorial I read at http://www.devx.com/Java/Article/28801 build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: [m2] running checkstyle as part of a test

2005-10-05 Thread Brett Porter
I'm not sure where that came from - I don't recall the checkstyle plugin earlier having a separate test goal. This works: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId configuration failsOnErrortrue/failsOnError /configuration !-- These are the

Re: [m2] running checkstyle as part of a test

2005-10-05 Thread David Sag
Hey Brett, fantastic - that works fine and now I think I have a better understanding of all those undocumented tags :-) if i get a chance i'll write all this up as there is precious little documentation yet on these matters that i can find. or rather the documentation I have found has been well