]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22447 updated rename findbugs dependency
authorlukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com>
Thu, 27 Jun 2024 15:34:35 +0000 (17:34 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 28 Jun 2024 20:02:47 +0000 (20:02 +0000)
39 files changed:
build.gradle
plugins/sonar-education-plugin/build.gradle
plugins/sonar-xoo-plugin/build.gradle
server/sonar-auth-bitbucket/build.gradle
server/sonar-auth-common/build.gradle
server/sonar-auth-github/build.gradle
server/sonar-auth-gitlab/build.gradle
server/sonar-auth-ldap/build.gradle
server/sonar-auth-saml/build.gradle
server/sonar-ce-common/build.gradle
server/sonar-ce-task-projectanalysis/build.gradle
server/sonar-ce-task/build.gradle
server/sonar-ce/build.gradle
server/sonar-db-core/build.gradle
server/sonar-db-dao/build.gradle
server/sonar-db-migration/build.gradle
server/sonar-main/build.gradle
server/sonar-process/build.gradle
server/sonar-server-common/build.gradle
server/sonar-webserver-api/build.gradle
server/sonar-webserver-auth/build.gradle
server/sonar-webserver-common/build.gradle
server/sonar-webserver-core/build.gradle
server/sonar-webserver-es/build.gradle
server/sonar-webserver-webapi/build.gradle
server/sonar-webserver-ws/build.gradle
server/sonar-webserver/build.gradle
sonar-application/build.gradle
sonar-core/build.gradle
sonar-duplications/build.gradle
sonar-plugin-api-impl/build.gradle
sonar-scanner-engine/build.gradle
sonar-scanner-protocol/build.gradle
sonar-shutdowner/build.gradle
sonar-testing-harness/build.gradle
sonar-ws-generator/build.gradle
sonar-ws/build.gradle
test-monitoring/build.gradle
ut-monitoring/build.gradle

index c98a8aa83df87eb8d0934799810b5039e84b7ce9..128054dfa18ab9724d443c78ce3046f0d68e83d9 100644 (file)
@@ -322,7 +322,7 @@ subprojects {
       dependency 'io.prometheus:simpleclient:0.16.0'
       dependency 'io.prometheus:simpleclient_common:0.16.0'
       dependency 'io.prometheus:simpleclient_servlet:0.16.0'
-      dependency 'com.google.code.findbugs:jsr305:3.0.2'
+      dependency 'com.github.spotbugs:spotbugs-annotations:4.8.6'
       dependency 'com.google.code.gson:gson:2.10.1'
       dependency('com.google.guava:guava:33.1.0-jre') {
         exclude 'com.google.errorprone:error_prone_annotations'
index 7378f93ca264fd556b08ab4f74911bbc78dbecae..23675c0c6c501a3a7a3a17ed315cedce4f3c7877 100644 (file)
@@ -4,7 +4,7 @@ configurations {
 
 dependencies {
     compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
     implementation 'commons-io:commons-io'
 
     testImplementation 'junit:junit'
index 221bdc559e0f49e54c4cd9a734e6a91252db87a5..fbd8c4d1228fe43279b4aa9ffc25672027c85bb9 100644 (file)
@@ -5,7 +5,7 @@ dependencies {
   api 'org.apache.commons:commons-lang3'
   api 'org.apache.commons:commons-csv'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'
 
   testImplementation 'junit:junit'
index 8329723c6e26ed3b12276d5455d1b12ea9ab5a55..f4a24eb53bf6764312f5a3d3e3cf013e666ca1ec 100644 (file)
@@ -12,7 +12,7 @@ dependencies {
     api 'com.google.code.gson:gson'
     api project(':server:sonar-auth-common')
 
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
     compileOnlyApi 'com.squareup.okhttp3:okhttp'
     compileOnlyApi 'javax.servlet:javax.servlet-api'
     compileOnlyApi project(':sonar-core')
index bbdf7b48d3aae55620c9495191ea4c0e8f9fc3e8..56d3b03da1b95f6b15484580309147ffbbc5bfcc 100644 (file)
@@ -10,7 +10,7 @@ dependencies {
     api 'com.github.scribejava:scribejava-apis'
     api 'com.github.scribejava:scribejava-core'
 
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
     testImplementation 'org.apache.commons:commons-lang3'
     testImplementation 'com.squareup.okhttp3:mockwebserver'
index f62727c885cbe99baa2462c3302c0e99fb598a8a..506b127cd92a270d95cbff14c3e5922c4ee7d0ba 100644 (file)
@@ -13,7 +13,7 @@ dependencies {
     api project(':server:sonar-auth-common')
     api project(':server:sonar-server-common')
 
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
     compileOnlyApi 'com.squareup.okhttp3:okhttp'
     compileOnlyApi 'javax.servlet:javax.servlet-api'
     compileOnlyApi project(':sonar-core')
index 9a0574fd46ef61cc64c5bf705b5c47b2a3fe9e45..b2922a4b638f452ed80ddb150e6567ace087f371 100644 (file)
@@ -13,7 +13,7 @@ dependencies {
     api project(':server:sonar-auth-common')
     api project(':server:sonar-server-common')
 
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
     compileOnlyApi 'com.squareup.okhttp3:okhttp'
     compileOnlyApi 'javax.servlet:javax.servlet-api'
     compileOnlyApi project(':sonar-core')
index 510579ad44317e0072af62eb7673e0e17a63ebfd..e0c91dc532efa17b853f9aabe2b8307cbdddabad 100644 (file)
@@ -9,7 +9,7 @@ dependencies {
 
     api 'org.apache.commons:commons-lang3'
 
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
     compileOnlyApi 'javax.servlet:javax.servlet-api'
     compileOnlyApi project(':server:sonar-process')
     compileOnlyApi project(':sonar-core')
index b60388a15c8edd873d4b20f142bb8f86dcd305b3..9a5db10e781c50fac10a581baa8450f1b2fc466b 100644 (file)
@@ -9,7 +9,7 @@ dependencies {
 
     api "com.onelogin:java-saml"
 
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
     compileOnlyApi 'com.squareup.okhttp3:okhttp'
     compileOnlyApi 'javax.servlet:javax.servlet-api'
     compileOnlyApi 'org.json:json'
index 1ae3c93d58d5f5f1045f88c9350a1f5a432234cd..f011ec9da60865ed5aec976be876f7eb916af6e1 100644 (file)
@@ -39,9 +39,9 @@ dependencies {
   api project(':server:sonar-server-common')
   api project(':sonar-core')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'org.apache.commons:commons-lang3'
   testImplementation 'junit:junit'
index 4cca46f43b0913f05e5d124874bd51c8b238cd24..604a1026213a71239a367be0b8bd441f76c536e0 100644 (file)
@@ -26,7 +26,7 @@ dependencies {
   implementation 'org.apache.commons:commons-text'
   api 'com.google.code.gson:gson'
   api 'com.google.guava:guava'
-  api 'com.google.code.findbugs:jsr305'
+  api 'com.github.spotbugs:spotbugs-annotations'
   api 'com.google.protobuf:protobuf-java'
   api 'com.googlecode.java-diff-utils:diffutils'
   api 'org.mybatis:mybatis'
@@ -42,11 +42,11 @@ dependencies {
   api project(':sonar-duplications')
   api project(':sonar-scanner-protocol')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
   api project(':server:sonar-db-dao')
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'org.apache.logging.log4j:log4j-api'
   testImplementation 'org.apache.logging.log4j:log4j-core'
@@ -65,7 +65,7 @@ dependencies {
   testFixturesApi 'org.mockito:mockito-core'
   testFixturesApi testFixtures(project(':server:sonar-ce-task'))
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 
   testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
   testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
index ade8647bbd69ffc1e47d2308623624032cbe1398..88959d6a1ab6214397d41678ea6597c2d9264d70 100644 (file)
@@ -24,13 +24,13 @@ dependencies {
   api project(':server:sonar-server-common')
   api project(':sonar-core')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'
 
   testImplementation 'ch.qos.logback:logback-access'
   testImplementation 'ch.qos.logback:logback-classic'
   testImplementation 'ch.qos.logback:logback-core'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'junit:junit'
   testImplementation 'org.apache.logging.log4j:log4j-api'
@@ -44,7 +44,7 @@ dependencies {
 
   testFixturesApi 'org.assertj:assertj-core'
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 
   testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
   testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
index 14b8794e61a2262d051320f884fe76f1d96c6781..ac8a5f9ed06c84ad381c4a22630050d090fe2bf0 100644 (file)
@@ -24,9 +24,9 @@ dependencies {
   api project(':sonar-plugin-api-impl')
   api project(':sonar-ws')
   
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'junit:junit'
   testImplementation 'org.assertj:assertj-core'
index c5de4301b8eca0f2df2c7c54c6bddcd13883e055..1fd40cd6a704ff1e93eba0db19f80d629e89dd8f 100644 (file)
@@ -19,9 +19,9 @@ dependencies {
   api project(':server:sonar-process')
   api project(':sonar-plugin-api-impl')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.h2database:h2'
   testImplementation 'com.microsoft.sqlserver:mssql-jdbc'
   testImplementation 'com.oracle.database.jdbc:ojdbc11'
@@ -48,7 +48,7 @@ dependencies {
   testFixturesImplementation 'com.oracle.database.jdbc:ojdbc11'
   testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api'
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 }
 
 test {
index a75979c4356fa360ff471a6317197b779a07a754..527bac05be99a78ed13e94095131d1be3885a0a1 100644 (file)
@@ -19,7 +19,7 @@ dependencies {
   api project(':server:sonar-db-migration')
   api project(':sonar-core')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
   testImplementation 'commons-dbutils:commons-dbutils'
   testImplementation 'org.assertj:assertj-core'
@@ -32,7 +32,7 @@ dependencies {
   testImplementation project(':sonar-testing-harness')
   testImplementation project(':sonar-plugin-api-impl')
 
-  testCompileOnly 'com.google.code.findbugs:jsr305'
+  testCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 
   testRuntimeOnly 'com.h2database:h2'
   testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
@@ -48,7 +48,7 @@ dependencies {
 
   testFixturesImplementation 'com.h2database:h2'
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 }
 
 test {
index e2d0de9954cff78951efe11f2ee0da0e913ab866..5d46f5b0264a7f491d7a4e9ea4546c5123fd1b6e 100644 (file)
@@ -16,9 +16,9 @@ dependencies {
   api project(':server:sonar-process')
   api project(':sonar-core')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'commons-dbutils:commons-dbutils'
   testImplementation 'com.squareup.okhttp3:mockwebserver'
index f1d2436176b953848ea96cd31ae65de6e98549f0..e1e567a0e9a6b6d4f4487a2be2b7fe271fbf9678 100644 (file)
@@ -25,9 +25,9 @@ dependencies {
   api project(':server:sonar-process')
   api project(':sonar-core')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'junit:junit'
   testImplementation 'org.assertj:assertj-core'
index 927d3fefaaf162862df0d44b72401a9c35279447..4b9d4a46a00fe055e2d4030901007dd7ad3b55af 100644 (file)
@@ -21,9 +21,9 @@ dependencies {
   api 'org.sonarsource.api.plugin:sonar-plugin-api'
   api project(':sonar-core')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.google.protobuf:protobuf-java'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'junit:junit'
index d019caad292ee81c15564ff05b508eac2dc811de..3ad43d2a9c03767e992a54c4810f87ccb862de59 100644 (file)
@@ -25,10 +25,10 @@ dependencies {
   api project(':sonar-markdown')
   api project(':sonar-ws')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'org.elasticsearch.plugin:transport-netty4-client'
   testImplementation 'ch.qos.logback:logback-core'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'org.subethamail:subethasmtp'
   testImplementation 'com.squareup.okhttp3:mockwebserver'
   testImplementation 'com.squareup.okhttp3:okhttp-tls'
@@ -51,7 +51,7 @@ dependencies {
   testFixturesApi 'junit:junit'
   testFixturesApi testFixtures(project(':server:sonar-db-dao'))
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
   testFixturesImplementation 'org.elasticsearch.plugin:transport-netty4-client'
   testFixturesImplementation 'org.codelibs.elasticsearch.module:analysis-common'
   testFixturesImplementation 'org.codelibs.elasticsearch.module:reindex'
index 219be3e9683fdaf969b01e5323d55a9b8fa867aa..15a4d2e782d6684a598c63d0bd836cdc7b21c658 100644 (file)
@@ -27,11 +27,11 @@ dependencies {
   api project(':sonar-plugin-api-impl')
   api 'org.mindrot:jbcrypt'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'javax.servlet:javax.servlet-api'
 
   testImplementation 'org.assertj:assertj-guava'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'javax.servlet:javax.servlet-api'
   testImplementation 'org.junit.jupiter:junit-jupiter-api'
@@ -42,7 +42,7 @@ dependencies {
 
   testFixturesApi 'junit:junit'
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 
   testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
   testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
index 935a1a2abc313ace2b8ee1b8d9c336d8c3c9d719..6a4d5091c05180bf9ff3bf2ed3028c36c3388db3 100644 (file)
@@ -20,7 +20,7 @@ dependencies {
   api project(':server:sonar-auth-ldap')
   api 'org.mindrot:jbcrypt'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'javax.servlet:javax.servlet-api'
 
   testImplementation 'com.tngtech.java:junit-dataprovider'
@@ -34,13 +34,13 @@ dependencies {
   testImplementation testFixtures(project(':server:sonar-server-common'))
   testImplementation project(':sonar-testing-harness')
 
-  testCompileOnly  'com.google.code.findbugs:jsr305'
+  testCompileOnly  'com.github.spotbugs:spotbugs-annotations'
 
   runtimeOnly 'io.jsonwebtoken:jjwt-jackson'
 
   testFixturesApi 'junit:junit'
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
   testFixturesCompileOnly 'org.junit.jupiter:junit-jupiter-api'
 
   testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
index 89ce28036572891118aa96169e1cad441df8ced3..ab17221b87713b8ec6ad9f7f55953c90ded53c13 100644 (file)
@@ -14,12 +14,12 @@ dependencies {
   implementation project(path: ':server:sonar-auth-gitlab')
   implementation project(path: ':server:sonar-alm-client')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'javax.servlet:javax.servlet-api'
 
   testImplementation 'org.apache.logging.log4j:log4j-api'
   testImplementation 'org.apache.logging.log4j:log4j-core'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
 
   testImplementation 'junit:junit'
index 4ea552a51299e7bcece10bc6defa5ed3ed8920ae..390aa4b6a1d2e00ce6c6ae89880cd99db90bec0f 100644 (file)
@@ -52,11 +52,11 @@ dependencies {
   api project(':sonar-ws')
   implementation project(path: ':server:sonar-webserver-webapi')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   // not a transitive dep. At runtime lib/jdbc/h2 is used
   compileOnlyApi 'com.h2database:h2'
 
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.h2database:h2'
   testImplementation 'com.squareup.okhttp3:mockwebserver'
   testImplementation 'com.tngtech.java:junit-dataprovider'
index ad7e297b05de4d56da52c412ee0ff5c51b07988b..01c88349af094bc0eac51c0c6f7c9273c97046fd 100644 (file)
@@ -12,13 +12,13 @@ dependencies {
   api project(':server:sonar-server-common')
   api project(':server:sonar-webserver-auth')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'javax.servlet:javax.servlet-api'
 
   testImplementation 'org.apache.logging.log4j:log4j-api'
   testImplementation 'org.apache.logging.log4j:log4j-core'
   testImplementation 'org.assertj:assertj-guava'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'org.junit.jupiter:junit-jupiter-api'
   testImplementation 'org.mockito:mockito-core'
index 9e924b126cfe89aba885113d70c2c2e51b78aba9..12ce4109fbd0dc63580bae41b0695d4be724a894 100644 (file)
@@ -28,13 +28,13 @@ dependencies {
   }
   api project(':sonar-scanner-protocol')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'javax.servlet:javax.servlet-api'
 
   testImplementation 'org.apache.logging.log4j:log4j-api'
   testImplementation 'org.apache.logging.log4j:log4j-core'
   testImplementation 'org.assertj:assertj-guava'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'com.squareup.okhttp3:mockwebserver'
   testImplementation 'javax.servlet:javax.servlet-api'
index 3a2418226b18b4365e49a9ecf8efcd85efe4a15a..f6f5c198f0da8578474de4c178cb447260fc55ac 100644 (file)
@@ -16,13 +16,13 @@ dependencies {
   api project(':sonar-plugin-api-impl')
   api project(':sonar-ws')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'javax.servlet:javax.servlet-api'
   compileOnlyApi 'org.apache.tomcat.embed:tomcat-embed-core'
 
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'junit:junit'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'javax.servlet:javax.servlet-api'
   testImplementation 'org.apache.tomcat.embed:tomcat-embed-core'
   testImplementation 'org.mockito:mockito-core'
@@ -30,5 +30,5 @@ dependencies {
 
   testFixturesApi project(':sonar-testing-harness')
 
-  testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+  testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 }
index a6ee7f7fad859bb5b6a878cedf5ef7cceccb7e8d..ab1bd8f471544cb7d189b8cc56e3daf6e1760259 100644 (file)
@@ -25,11 +25,11 @@ dependencies {
   api project(':server:sonar-webserver-pushapi')
   api project(':server:sonar-webserver-monitoring')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
   testImplementation 'org.apache.logging.log4j:log4j-api'
   testImplementation 'org.apache.logging.log4j:log4j-core'
-  testImplementation 'com.google.code.findbugs:jsr305'
+  testImplementation 'com.github.spotbugs:spotbugs-annotations'
   testImplementation 'com.tngtech.java:junit-dataprovider'
   testImplementation 'org.junit.jupiter:junit-jupiter-api'
   testImplementation 'org.mockito:mockito-core'
index 9dab90e85b7b5d1c8fe0e88bb26301b0f72df26e..f384e6d905abea4a7c4ca1da9cadc2db67a866bc 100644 (file)
@@ -66,7 +66,7 @@ dependencies {
     api project(':sonar-core')
     api project(':sonar-plugin-api-impl')
 
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
     scanner project(path: ':sonar-scanner-engine-shaded', configuration: 'shadow')
     cyclonedx project(path: ':sonar-scanner-engine-shaded')
index 26872fcd0b0f94fcec9462cc16d095fa90cf5e42..e14941e5f6c342311e48a9db667f87d7625ea3ee 100644 (file)
@@ -24,7 +24,7 @@ dependencies {
   api project(':sonar-plugin-api-impl')
   api project(':sonar-ws')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'com.google.code.gson:gson'
 
   testImplementation 'com.tngtech.java:junit-dataprovider'
@@ -37,7 +37,7 @@ dependencies {
   testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
   testImplementation project(':sonar-testing-harness')
 
-  testCompileOnly 'com.google.code.findbugs:jsr305'
+  testCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 
   testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
   testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
index d3c65d720b2eae5421e7983a681ce02b1ba5aa9f..2afa1c31eda0fa4721ba42e9c86fd829116a97ce 100644 (file)
@@ -10,7 +10,7 @@ dependencies {
   api 'org.codehaus.sonar:sonar-channel'
   api 'org.sonarsource.api.plugin:sonar-plugin-api'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
   testImplementation 'ch.qos.logback:logback-classic'
   testImplementation 'commons-io:commons-io'
index 8dc960886ce36bd178e1dc3fc46d1ff2a34784aa..2417c1f89faecaa4d3de12f40a1d3a6403edf7d9 100644 (file)
@@ -13,10 +13,10 @@ dependencies {
   api 'org.apache.commons:commons-csv'
   api 'org.sonarsource.api.plugin:sonar-plugin-api'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'junit:junit'
 
-  testCompileOnly 'com.google.code.findbugs:jsr305'
+  testCompileOnly 'com.github.spotbugs:spotbugs-annotations'
 
   testImplementation 'com.google.guava:guava'
   testImplementation 'com.tngtech.java:junit-dataprovider'
index e6a289228b8ae8a164b5aec27682e67341900880..9963db68df465e468973f7e5f417bd435cf46a5b 100644 (file)
@@ -47,7 +47,7 @@ dependencies {
   api project(':sonar-duplications')
   api project(':sonar-plugin-api-impl')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
   testImplementation 'com.squareup.okhttp3:mockwebserver'
   testImplementation 'com.squareup.okhttp3:okhttp'
index 18158a88d5c571e2e0d2fa607d978b1a2f53c3ba..ab20b8484d535db63e081b37024381183abb1d55 100644 (file)
@@ -13,7 +13,7 @@ dependencies {
   api 'org.apache.commons:commons-lang3'
   api project(':sonar-core')
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
   testImplementation 'com.google.guava:guava'
   testImplementation 'junit:junit'
index 39afc0069fa6be75f972d161bb8d4f928f7f241c..c347c07772d3d0975335ba0a915724d53bcf4971 100644 (file)
@@ -6,7 +6,7 @@ sonar {
 
 dependencies {
   // please keep list ordered
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
   testImplementation 'junit:junit'
   testImplementation 'org.assertj:assertj-core'
index 7826c3bdba9d808699982f8b5ac58517e8c6814a..5a249e167afa2ab2e75c28edf089cb289204618d 100644 (file)
@@ -16,7 +16,7 @@ dependencies {
   api 'org.jsoup:jsoup'
   api 'org.mockito:mockito-core'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 }
 
 artifactoryPublish.skip = false
index df3d2ac2ef2cba96a05592188760256fb1e87459..7ce6a3ad0998a774ad675384e2d7e2e77f2c9c6b 100644 (file)
@@ -15,7 +15,7 @@ dependencies {
   api 'org.slf4j:log4j-over-slf4j'
   api 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 }
 
 task fatJar(type: Jar) {
index 2855ab338f0236fc6632dfd4c15ef2d8a402f8fb..b443bf860e670a716813ee88d8567f8b7f0670e3 100644 (file)
@@ -18,7 +18,7 @@ dependencies {
   api 'com.google.code.gson:gson'
   api 'org.sonarsource.api.plugin:sonar-plugin-api'
 
-  compileOnlyApi 'com.google.code.findbugs:jsr305'
+  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
   compileOnlyApi 'javax.annotation:javax.annotation-api'
 
     testImplementation 'com.squareup.okhttp3:mockwebserver'
index a96d20ff2568fa868e910339ffb816f987a40f1b..48ca4ab5da34186d5b4c50a7ac0bc7e8cac0ffe2 100644 (file)
@@ -11,7 +11,7 @@ dependencies {
     api 'junit:junit'
 
     compileOnlyApi 'org.aspectj:aspectjtools'
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
     testImplementation 'org.assertj:assertj-core'
     testImplementation 'org.mockito:mockito-core'
index b607704e80aee1575dc092d357831f95406be7c5..34cda613176baf5d2c2af3b5b03e03772cb870a4 100644 (file)
@@ -12,7 +12,7 @@ dependencies {
     api 'org.sonarsource.api.plugin:sonar-plugin-api'
 
     compileOnlyApi 'org.aspectj:aspectjtools'
-    compileOnlyApi 'com.google.code.findbugs:jsr305'
+    compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 }
 
 tasks.withType(JavaCompile) {