dependency 'com.sun.mail:jakarta.mail:1.6.7'
dependency 'javax.annotation:javax.annotation-api:1.3.2'
dependency 'javax.inject:javax.inject:1'
- dependency 'javax.servlet:javax.servlet-api:4.0.1'
dependency 'javax.xml.bind:jaxb-api:2.3.1'
+ dependency 'jakarta.servlet:jakarta.servlet-api:4.0.4'
dependency 'junit:junit:4.13.2'
// JUnit 5
dependencySet(group: 'org.junit.jupiter', version: '5.10.2') {
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
compileOnlyApi project(':sonar-core')
testImplementation 'com.squareup.okhttp3:mockwebserver'
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
compileOnlyApi project(':sonar-core')
testImplementation 'com.squareup.okhttp3:mockwebserver'
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
compileOnlyApi project(':sonar-core')
testImplementation 'com.squareup.okhttp3:mockwebserver'
api 'org.apache.commons:commons-lang3'
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
compileOnlyApi project(':server:sonar-process')
compileOnlyApi project(':sonar-core')
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
compileOnlyApi 'org.json:json'
compileOnlyApi project(':server:sonar-db-dao')
compileOnlyApi project(':server:sonar-webserver-api')
api 'org.mindrot:jbcrypt'
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
- testImplementation 'javax.servlet:javax.servlet-api'
+ testImplementation 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
api 'org.mindrot:jbcrypt'
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'com.tngtech.java:junit-dataprovider'
- testImplementation 'javax.servlet:javax.servlet-api'
+ testImplementation 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-guava'
implementation project(path: ':server:sonar-alm-client')
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
api project(':server:sonar-webserver-auth')
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
}
dependencies {
- api 'javax.servlet:javax.servlet-api'
+ api 'jakarta.servlet:jakarta.servlet-api'
api 'org.json:json'
api project(':server:sonar-webserver-ws')
api project(':server:sonar-db-dao')
api project(':server:sonar-webserver-common')
- testImplementation 'javax.servlet:javax.servlet-api'
+ testImplementation 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.junit.jupiter:junit-jupiter-params'
testImplementation 'org.mockito:mockito-core'
api project(':sonar-scanner-protocol')
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'com.squareup.okhttp3:mockwebserver'
- testImplementation 'javax.servlet:javax.servlet-api'
+ testImplementation 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.mockito:mockito-junit-jupiter'
api project(':sonar-ws')
compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'jakarta.servlet:jakarta.servlet-api'
compileOnlyApi 'org.apache.tomcat.embed:tomcat-embed-core'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'com.github.spotbugs:spotbugs-annotations'
- testImplementation 'javax.servlet:javax.servlet-api'
+ testImplementation 'jakarta.servlet:jakarta.servlet-api'
testImplementation 'org.apache.tomcat.embed:tomcat-embed-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'