Revert "Revert "Exclude unwanted javax.inject dependency from Data Couchbase""

This reverts commit 3b76165f4e.

Turns out, the exclude's still needed for now? with Data Couchbase
5.1.x.

See gh-40200
This commit is contained in:
Andy Wilkinson
2024-04-11 17:06:03 +01:00
parent 3b76165f4e
commit 1ea6f2f51f
7 changed files with 21 additions and 7 deletions

View File

@@ -132,7 +132,9 @@ dependencies {
implementation("org.springframework.amqp:spring-rabbit")
implementation("org.springframework.batch:spring-batch-core")
implementation("org.springframework.data:spring-data-cassandra")
implementation("org.springframework.data:spring-data-couchbase")
implementation("org.springframework.data:spring-data-couchbase") {
exclude group: "javax.inject", module: "javax.inject"
}
implementation("org.springframework.data:spring-data-elasticsearch") {
exclude group: "commons-logging", module: "commons-logging"
}