Can anyone suggest the canonical way to use the CheckStyle plugin?
Based on an example someone else supplied to me, I have done this:
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>check-main-src</id>
<phase>compile</phase>
<configuration>
<propertiesFile>checkstyle-src.xml</
propertiesFile>
<failsOnError>false</failsOnError>
</configuration>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
But I seem to be having some weirdness... this configuration seems to
ignore things I put in the checkstyle-src.xml file...
What's the best way to set this up?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]