Skip to content

Commit

Permalink
Updated spotbugs plugin (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfvanek authored Oct 29, 2023
1 parent f8aca8b commit 8ce0582
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
id("pmd")
id("java-test-fixtures")
id("net.ltgt.errorprone") version "3.1.0"
id("com.github.spotbugs") version "5.1.4"
id("com.github.spotbugs") version "5.2.1"
id("org.sonarqube") version "4.4.1.3373"
id("info.solidsoft.pitest") version "1.15.0"
id("org.gradle.test-retry") version "1.5.6"
Expand Down
11 changes: 10 additions & 1 deletion config/spotbugs/exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2"/>
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2,CT_CONSTRUCTOR_THROW"/>
</Match>
<Match>
<Bug pattern="SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE"/>
Expand Down Expand Up @@ -40,4 +40,13 @@
<Bug pattern="OBL_UNSATISFIED_OBLIGATION,ODR_OPEN_DATABASE_RESOURCE"/>
<Class name="io.github.mfvanek.pg.connection.HighAvailabilityPgConnectionUnitTest"/>
</Match>
<Match>
<Bug pattern="PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES"/>
<Or>
<Class name="io.github.mfvanek.pg.model.table.Table"/>
<Class name="io.github.mfvanek.pg.generator.utils.StringUtils"/>
<Class name="io.github.mfvanek.pg.generator.GeneratingOptions$Builder"/>
<Class name="io.github.mfvanek.pg.common.maintenance.Diagnostic"/>
</Or>
</Match>
</FindBugsFilter>
6 changes: 3 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ dependencyResolutionManagement {
library("postgresql", "org.postgresql:postgresql:42.6.0")
library("logback-classic", "ch.qos.logback:logback-classic:1.2.12")
library("slf4j-api", "org.slf4j:slf4j-api:1.7.36") // to be compatible with Spring Boot 2.7.X
library("apache-commons-dbcp2", "org.apache.commons:commons-dbcp2:2.10.0")
library("apache-commons-dbcp2", "org.apache.commons:commons-dbcp2:2.11.0")
library("mockito-core", "org.mockito:mockito-core:5.6.0")
library("awaitility", "org.awaitility:awaitility:4.2.0")
library("apache-commons-lang3", "org.apache.commons:commons-lang3:3.13.0")
library("equalsverifier", "nl.jqno.equalsverifier:equalsverifier:3.15.2")
library("pitest-dashboard-reporter", "it.mulders.stryker:pit-dashboard-reporter:0.2.1")
version("pitest-junit5Plugin", "1.2.0")
version("pitest-core", "1.15.0")
version("pitest-junit5Plugin", "1.2.1")
version("pitest-core", "1.15.2")
version("checkstyle", "10.12.0")
version("pmd", "6.55.0")
version("jacoco", "0.8.10")
Expand Down

0 comments on commit 8ce0582

Please sign in to comment.