Skip to content

Commit

Permalink
[improve][build] Upgrade spotbugs maven plugin version for Java 21 co…
Browse files Browse the repository at this point in the history
…mpatibility (#21389)
  • Loading branch information
lhotari authored Oct 18, 2023
1 parent e2c6c08 commit 5af821d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ flexible messaging model and an intuitive client API.</description>
<wagon-ssh-external.version>3.5.3</wagon-ssh-external.version>
<os-maven-plugin.version>1.7.0</os-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
<spotbugs-maven-plugin.version>4.7.3.0</spotbugs-maven-plugin.version>
<spotbugs-maven-plugin.version>4.7.3.6</spotbugs-maven-plugin.version>
<spotbugs.version>4.7.3</spotbugs.version>
<errorprone.version>2.5.1</errorprone.version>
<errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
Expand Down
20 changes: 20 additions & 0 deletions pulsar-client/src/main/resources/findbugsExclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@
<Method name="getTopicNames"/>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.ConsumerConfigurationData"/>
<Method name="getProperties"/>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.ConsumerConfigurationData"/>
<Method name="&lt;init&gt;"/>
Expand Down Expand Up @@ -387,6 +392,11 @@
<Method name="setTopicNames"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.ConsumerConfigurationData"/>
<Method name="setProperties"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.DefaultCryptoKeyReaderConfigurationData"/>
<Method name="getPrivateKeys"/>
Expand Down Expand Up @@ -427,6 +437,11 @@
<Method name="getMessageCrypto"/>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.ProducerConfigurationData"/>
<Method name="getProperties"/>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.ProducerConfigurationData"/>
<Method name="&lt;init&gt;"/>
Expand All @@ -447,6 +462,11 @@
<Method name="setMessageCrypto"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.ProducerConfigurationData"/>
<Method name="setProperties"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<Match>
<Class name="org.apache.pulsar.client.impl.conf.ReaderConfigurationData"/>
<Method name="getKeyHashRanges"/>
Expand Down

0 comments on commit 5af821d

Please sign in to comment.