Skip to content

Instantly share code, notes, and snippets.

@seanf
Created January 17, 2014 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanf/8468203 to your computer and use it in GitHub Desktop.
Save seanf/8468203 to your computer and use it in GitHub Desktop.
~/.m2/settings.xml with Checkstyle/FindBugs exclusions for Zanata - this allows you to edit exclusions on your local machine
<settings xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>local-settings</id>
<activation>
<property>
<name>!skipLocalSettings</name>
</property>
</activation>
<properties>
<!-- NB: change the paths below to match your checkout directory for zanata-parent -->
<checkstyle.config.location>/NotBackedUp/sflaniga/src/zanata-root/parent/checkstyle.xml</checkstyle.config.location>
<checkstyle.suppressions.location>/NotBackedUp/sflaniga/src/zanata-root/parent/checkstyle-suppressions.xml</checkstyle.suppressions.location>
<findbugs.excludeFilterFile>/NotBackedUp/sflaniga/src/zanata-root/parent/findbugs-filter.xml</findbugs.excludeFilterFile>
</properties>
</profile>
</profiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment