Re: How can the checkstyle plugin be configured to fail the build?

2009-02-10 Thread teja007
nitinaggarwal wrote: Hi I am facing a similiar issue in my project. But additionally i want the a checkstyle file FC-CheckStyle.xml customized to my project be invoked in order to find out if there are checkstyle errors . how do i do that? Additionally can some one tell me how

Re: How can the checkstyle plugin be configured to fail the build?

2007-06-22 Thread Wayne Fay
Here's two best practice approaches generally suggested to solve this problem on this list: 1. Put the checkstyle.xml file in a location that can be accessed using HTTP. This may be a particular file on a Webserver or just reference a file in a Subversion repository. 2. Create a new Maven

How can the checkstyle plugin be configured to fail the build?

2007-06-21 Thread Andrew Moores
Hello I want to make my build fail if there are any checkstyle errors in my code. I have added the following to my pom: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId configuration

Re: How can the checkstyle plugin be configured to fail the build?

2007-06-21 Thread Guillaume Boucherie
try something like this. build plugins plugin groupIdorg.apache.maven.pluginsgroupId artifactIdmaven-checkstyle-plugin/artifactId executions execution goals goalcheck/goal /goals /execution /executions /plugin /plugins /build

Re: How can the checkstyle plugin be configured to fail the build?

2007-06-21 Thread nitinaggarwal
Hi I am facing a similiar issue in my project. But additionally i want the a checkstyle file FC-CheckStyle.xml customized to my project be invoked in order to find out if there are checkstyle errors . how do i do that? Additionally can some one tell me how can i refer to this file as this