Skip to content

Commit

Permalink
chore: enable findbugs for server module
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed May 24, 2017
1 parent f13fbac commit 0d1a03e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
3 changes: 0 additions & 3 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<failOnError>true</failOnError>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<FindBugsFilter>
<Match>
<Class name="~.*\.HelpMojo" />
</Match>
<Match>
<Source name="~.*\.kt"/>
</Match>
</FindBugsFilter>
3 changes: 0 additions & 3 deletions client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<failOnError>true</failOnError>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
3 changes: 0 additions & 3 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<failOnError>true</failOnError>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
4 changes: 1 addition & 3 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@
<checkstyle.includes>*.xml,*.txt,*.md,etc/**,src/main/**,src/test/**,src/etc/**,src/conf/**</checkstyle.includes>
<checkstyle.excludes>src/test/resources/**,**/.gitkeep</checkstyle.excludes>

<!-- NB: If we want to failOnError, we may need to
remove GuavaBetaDetector/library-detectors. -->
<findbugs.failOnError>false</findbugs.failOnError>
<findbugs.failOnError>true</findbugs.failOnError>
<findbugs.excludeFilterFile>zanata-build-tools/findbugs-filter.xml</findbugs.excludeFilterFile>
<reports-plugin.dependencyDetailsEnabled>false</reports-plugin.dependencyDetailsEnabled>
<reports-plugin.dependencyLocationsEnabled>false</reports-plugin.dependencyLocationsEnabled>
Expand Down
5 changes: 5 additions & 0 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2083,6 +2083,11 @@
</dependency>
</dependencies>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
</plugin>
</plugins>

<pluginManagement>
Expand Down

0 comments on commit 0d1a03e

Please sign in to comment.