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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to