]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22447 move back all dependency management into the main build.gradle files
authorSteve Marion <steve.marion@sonarsource.com>
Thu, 27 Jun 2024 16:34:30 +0000 (18:34 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 1 Jul 2024 20:03:10 +0000 (20:03 +0000)
build.gradle
server/sonar-ce-task-projectanalysis/build.gradle
server/sonar-main/build.gradle
server/sonar-webserver-webapi-v2/build.gradle
sonar-testing-ldap/build.gradle
sonar-ws-generator/build.gradle
test-monitoring/build.gradle

index 30428f78a8a4c95731dd60948fdfa582ece49e30..f11f215e06ce6043677b919f82af5de7e18dc428 100644 (file)
@@ -382,13 +382,21 @@ subprojects {
       dependency 'org.xmlunit:xmlunit-matchers:2.10.0'
       dependency 'org.lz4:lz4-java:1.8.0'
       dependency 'org.littleshoot:littleproxy:1.1.2'
+      dependency 'net.sf.trove4j:core:3.1.0'
       dependency 'org.awaitility:awaitility:4.2.1'
       dependency 'org.apache.commons:commons-collections4:4.4'
       dependency 'org.apache.commons:commons-csv:1.11.0'
       dependency 'org.apache.commons:commons-lang3:3.14.0'
       dependency 'org.apache.commons:commons-email:1.6.0'
       dependency 'org.apache.commons:commons-text:1.12.0'
+      dependency 'org.apache.mina:mina-core:2.2.3'
+      dependency 'org.apache.kerby:kerb-simplekdc:2.0.3'
+      dependency 'org.apache.kerby:ldap-backend:2.0.3'
+      dependency 'commons-logging:commons-logging:1.3.1'
       dependency 'com.zaxxer:HikariCP:5.1.0'
+      dependency ('org.apache.directory.server:apacheds-server-integ:2.0.0.AM27') {
+        exclude 'log4j:log4j'
+      }
       dependency('org.apache.httpcomponents:httpclient:4.5.14') {
         exclude 'commons-logging:commons-logging'
       }
@@ -473,6 +481,11 @@ subprojects {
       dependency 'org.glassfish:jakarta.el:3.0.4'
       dependency 'org.kohsuke:github-api:1.322'
       dependency 'org.wiremock:wiremock-standalone:3.7.0'
+      dependency 'org.skyscreamer:jsonassert:1.5.1'
+      // to be used only in sonar-ws-generator
+      dependency ("org.apache.velocity:velocity:1.7") {
+        dependency 'commons-collections:commons-collections:3.2.2'
+      }
 
       // please keep this list alphabetically ordered
     }
index 604a1026213a71239a367be0b8bd441f76c536e0..f5cd00d63939a5eb053d4125790944fd20a612d0 100644 (file)
@@ -19,7 +19,7 @@ dependencies {
 
   api 'org.slf4j:jul-to-slf4j'
   api 'org.slf4j:slf4j-api'
-  api 'net.sf.trove4j:core:3.1.0'
+  api 'net.sf.trove4j:core'
   api 'commons-codec:commons-codec'
   api 'commons-io:commons-io'
   api 'org.apache.commons:commons-lang3'
index e1e567a0e9a6b6d4f4487a2be2b7fe271fbf9678..a14831517425854d588a25af1088e251ea221c0b 100644 (file)
@@ -18,7 +18,6 @@ dependencies {
   api 'org.apache.logging.log4j:log4j-to-slf4j'
   api 'org.apache.logging.log4j:log4j-api'
   api 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
-  api 'org.elasticsearch:elasticsearch'
   api 'org.slf4j:slf4j-api'
   api 'org.yaml:snakeyaml'
   
index 2acb31872015007b3e1dcf1a236ec90fe811d9ac..19e6fb4d0a8e816f5c02e961afec2fb906691aff 100644 (file)
@@ -20,7 +20,7 @@ dependencies {
     testImplementation 'org.junit.jupiter:junit-jupiter-params'
     testImplementation 'org.mockito:mockito-core'
     testImplementation 'org.mockito:mockito-junit-jupiter'
-    testImplementation 'org.skyscreamer:jsonassert:1.5.1'
+    testImplementation 'org.skyscreamer:jsonassert'
     testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
     testImplementation 'com.tngtech.java:junit-dataprovider'
     testImplementation project(':sonar-testing-harness')
index 1900ce7ef7bf7c630c01e3017e128cce3e94ae8a..e3bedf7a54f8f4f45737f1fee97cbc1b49dc3738 100644 (file)
@@ -5,13 +5,10 @@ sonar {
 }
 
 dependencies {
-    api 'org.apache.mina:mina-core:2.2.3'
-    implementation ('org.apache.directory.server:apacheds-server-integ:2.0.0.AM27') {
-        exclude group: 'log4j', module: 'log4j'
-    }
-
-    implementation 'org.apache.kerby:kerb-simplekdc:2.0.3'
-    implementation 'org.apache.kerby:ldap-backend:2.0.3'
+    api 'org.apache.mina:mina-core'
+    implementation 'org.apache.directory.server:apacheds-server-integ'
+    implementation 'org.apache.kerby:kerb-simplekdc'
+    implementation 'org.apache.kerby:ldap-backend'
 
     testImplementation 'junit:junit'
     testImplementation 'org.assertj:assertj-core'
index 7ce6a3ad0998a774ad675384e2d7e2e77f2c9c6b..a830087661337e70c555589cc37deee4e6289a84 100644 (file)
@@ -8,10 +8,7 @@ dependencies {
   api 'com.google.code.gson:gson'
   api 'com.google.guava:guava'
   api 'commons-io:commons-io'
-  // transitive dependency of Velocity that must be upgraded
-  // in order to fix a vulnerability
-  api 'commons-collections:commons-collections:3.2.2'
-  api 'org.apache.velocity:velocity:1.7'
+  api 'org.apache.velocity:velocity'
   api 'org.slf4j:log4j-over-slf4j'
   api 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'
 
index a252f4ebdba03a6a85e2390dd38c260c1039afd2..ef105873ceea0585882442aa0fbcd4da7a5bc28c 100644 (file)
@@ -13,9 +13,9 @@ dependencies {
     compileOnlyApi 'org.aspectj:aspectjtools'
     compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
 
+    testImplementation 'org.aspectj:aspectjtools'
     testImplementation 'org.assertj:assertj-core'
     testImplementation 'org.mockito:mockito-core'
-    testImplementation 'org.aspectj:aspectjweaver:1.9.22.1'
 }
 
 tasks.withType(JavaCompile) {