You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Duane Homick <dh...@SANDVINE.com> on 2005/11/04 17:57:12 UTC
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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<propertiesFile>../../checkstyle.xml</propertiesFile>
</configuration>
</plugin>
Thanks
Duane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org