summaryrefslogtreecommitdiff
path: root/zookeeper-jute
diff options
context:
space:
mode:
authorEnrico Olivelli <eolivelli@apache.org>2019-01-07 14:24:07 +0100
committerAndor Molnar <andor@apache.org>2019-01-07 14:24:07 +0100
commitb752ef66876a141035a42f30aad69e3166cad746 (patch)
treedf77e7528aa6c4f3bf9e97739840a80ec562ea2d /zookeeper-jute
parent4a8fda7031d68236441b13bd878936b2607c5244 (diff)
downloadzookeeper-b752ef66876a141035a42f30aad69e3166cad746.tar.gz
ZOOKEEPER-3223: Configure Spotbugs
- add spotbugs configuration (default) - make build pass spotbugs Author: Enrico Olivelli <eolivelli@apache.org> Reviewers: andor@apache.org Closes #742 from eolivelli/fix/ZOOKEEPER-3223-spotbugs and squashes the following commits: a43cecf41 [Enrico Olivelli] Fix false positive c00d296ad [Enrico Olivelli] Add Suppression for false positive 35c8a4dde [Enrico Olivelli] fix tests 1ae629bcd [Enrico Olivelli] revert file c0bb9d903 [Enrico Olivelli] Add spotbugs annotations to ant based build dabe4fafc [Enrico Olivelli] [ZOOKEEPER-3223] Configure Spotbugs - add spotbugs configuration - make build pass spotbugs
Diffstat (limited to 'zookeeper-jute')
-rwxr-xr-xzookeeper-jute/pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/zookeeper-jute/pom.xml b/zookeeper-jute/pom.xml
index bc133b29b..9bb696e9a 100755
--- a/zookeeper-jute/pom.xml
+++ b/zookeeper-jute/pom.xml
@@ -145,6 +145,14 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <!-- spotbugs does not make sense for generated code -->
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>