The checkstyle plugin currently does not support custom formats.
Several defects have been logged against this limitation.
http://jira.codehaus.org/browse/MNG-1113
http://jira.codehaus.org/browse/MNG-587
Regards,
Mark.
-Original Message-
From: Duane Homick [mailto:[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 11:57 AM
To: Maven Users List
Subject: My own checkstyle properties
I cant seem to figure out how to have the checkstyle plugin allow me to
use my own checkstyle.xml file (instead of sun's checks). What's the
magic I need here?
my checkstyle.xml file:
?xml version=1.0?
!DOCTYPE module PUBLIC
-//Puppy Crawl//DTD Check Configuration 1.2//EN
http://www.puppycrawl.com/dtds/configuration_1_2.dtd;
module name=Checker
module name=NewlineAtEndOfFile/
...
/module
In my pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
configuration
propertiesFile../../checkstyle.xml/propertiesFile
/configuration
/plugin
Thanks
Duane
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
___
Siebel
IT'S ALL ABOUT THE CUSTOMER
Visit www.siebel.com
This e-mail message is for the sole use of the intended recipient(s) and
contains confidential and/or privileged information belonging to Siebel
Systems, Inc. or its customers or partners. Any unauthorized review, use,
copying, disclosure or distribution of this message is strictly prohibited. If
you are not an intended recipient of this message, please contact the sender by
reply e-mail and destroy all soft and hard copies of the message and any
attachments. Thank you for your cooperation.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]