Yes, that is possible with the checkstyle:check goal [1].

Hth,

[1] http://maven.apache.org/plugins/maven-checkstyle-plugin/check-mojo.html

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



-----Original Message-----
From: Jeroen Verhagen [mailto:[EMAIL PROTECTED]
Sent: Thu 6/26/2008 11:40
To: [email protected]
Subject: Enforce Checkstyle using Maven?
 
Hi all,

Is it possible to enforce coding standards using Checkstyles plugin?
For example by letting a build fail like Surefire does when a unittest
fails or by preventing a deploy to a repository when coding standards
have not been met according to Checkstyle?



-- 

regards,

Jeroen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to