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'
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'
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'
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')
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'
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')
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')
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')
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'
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'
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'
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'
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'
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'
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'
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'
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'
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 {
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'
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'
testFixturesImplementation 'com.h2database:h2'
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
}
test {
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'
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'
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'
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'
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'
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'
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'
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'
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'
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'
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'
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'
}
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'
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'
testFixturesApi project(':sonar-testing-harness')
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
}
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'
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')
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'
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'
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'
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'
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'
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'
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'
api 'org.jsoup:jsoup'
api 'org.mockito:mockito-core'
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
}
artifactoryPublish.skip = false
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) {
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'
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'
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) {