Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<project>
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>2.2</version>
        <configuration>
           <!-- your example configuration here -->
        </configuration>
      </plugin>
    </plugins>
  </reporting>
</project>

h2. Checkstyle configuration file

In order to ignore the Externalized String comments generated by eclipse, you could configure Checkstyle in this way:

{code:xml}
<module name="TrailingComment">
  <property name="legalComment" value="\$NON-NLS-" />
</module> 

FAQ

How do I ...?

You need to ...