HBASE-16535 Use regex to exclude generated classes for findbugs
This commit is contained in:
parent
647a65ce01
commit
1da0a48f6b
|
@ -16,35 +16,15 @@
|
|||
-->
|
||||
|
||||
<FindBugsFilter>
|
||||
<!-- Nested packages are not included by the Package filter, so we need a regexp... -->
|
||||
<Match>
|
||||
<Package name="org.apache.hadoop.hbase.thrift2.generated"/>
|
||||
<Class name="~.*\.generated\..*"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Package name="org.apache.hadoop.hbase.thrift.generated"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Package name="org.apache.hadoop.hbase.rest.protobuf.generated"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Package name="org.apache.hadoop.hbase.protobuf.generated"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Package name="org.apache.hadoop.hbase.coprocessor.example.generated"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<!-- Nested packages are not included by the filter, so we need a regexp... -->
|
||||
<Package name="~org\.apache\.hadoop\.hbase\.tmpl\..*"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Package name="~org\.apache\.hadoop\.hbase\.generated\..*"/>
|
||||
</Match>
|
||||
|
||||
<Match>
|
||||
<Class name="org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost"/>
|
||||
<Or>
|
||||
|
|
Loading…
Reference in New Issue