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

This reverts commit 06f5ab162f. The
dependency has been removed in Data Couchbase, making the exclude
unnecessary.

See gh-40200
This commit is contained in:
Andy Wilkinson 2024-04-11 16:55:24 +01:00
parent a417c94805
commit 3b76165f4e
7 changed files with 7 additions and 21 deletions

View File

@ -123,9 +123,7 @@ dependencies {
optional("org.springframework.data:spring-data-cassandra") { optional("org.springframework.data:spring-data-cassandra") {
exclude group: "org.slf4j", module: "jcl-over-slf4j" exclude group: "org.slf4j", module: "jcl-over-slf4j"
} }
optional("org.springframework.data:spring-data-couchbase") { optional("org.springframework.data:spring-data-couchbase")
exclude(group: "javax.inject", module: "javax.inject")
}
optional("org.springframework.data:spring-data-jpa") optional("org.springframework.data:spring-data-jpa")
optional("org.springframework.data:spring-data-ldap") optional("org.springframework.data:spring-data-ldap")
optional("org.springframework.data:spring-data-mongodb") optional("org.springframework.data:spring-data-mongodb")

View File

@ -66,9 +66,7 @@ dependencies {
optional("org.springframework.data:spring-data-cassandra") { optional("org.springframework.data:spring-data-cassandra") {
exclude group: "org.slf4j", module: "jcl-over-slf4j" exclude group: "org.slf4j", module: "jcl-over-slf4j"
} }
optional("org.springframework.data:spring-data-couchbase") { optional("org.springframework.data:spring-data-couchbase")
exclude(group: "javax.inject", module: "javax.inject")
}
optional("org.springframework.data:spring-data-elasticsearch") { optional("org.springframework.data:spring-data-elasticsearch") {
exclude(group: "commons-logging", module: "commons-logging") exclude(group: "commons-logging", module: "commons-logging")
} }

View File

@ -155,9 +155,7 @@ dependencies {
optional("org.springframework:spring-webflux") optional("org.springframework:spring-webflux")
optional("org.springframework:spring-webmvc") optional("org.springframework:spring-webmvc")
optional("org.springframework.batch:spring-batch-core") optional("org.springframework.batch:spring-batch-core")
optional("org.springframework.data:spring-data-couchbase") { optional("org.springframework.data:spring-data-couchbase")
exclude(group: "javax.inject", module: "javax.inject")
}
optional("org.springframework.data:spring-data-envers") { optional("org.springframework.data:spring-data-envers") {
exclude group: "javax.activation", module: "javax.activation-api" exclude group: "javax.activation", module: "javax.activation-api"
exclude group: "javax.persistence", module: "javax.persistence-api" exclude group: "javax.persistence", module: "javax.persistence-api"

View File

@ -132,9 +132,7 @@ dependencies {
implementation("org.springframework.amqp:spring-rabbit") implementation("org.springframework.amqp:spring-rabbit")
implementation("org.springframework.batch:spring-batch-core") implementation("org.springframework.batch:spring-batch-core")
implementation("org.springframework.data:spring-data-cassandra") 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") { implementation("org.springframework.data:spring-data-elasticsearch") {
exclude group: "commons-logging", module: "commons-logging" exclude group: "commons-logging", module: "commons-logging"
} }

View File

@ -7,7 +7,5 @@ description = "Starter for using Couchbase document-oriented database and Spring
dependencies { dependencies {
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter")) api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
api("io.projectreactor:reactor-core") api("io.projectreactor:reactor-core")
api("org.springframework.data:spring-data-couchbase") { api("org.springframework.data:spring-data-couchbase")
exclude group: "javax.inject", module: "javax.inject"
}
} }

View File

@ -6,7 +6,5 @@ description = "Starter for using Couchbase document-oriented database and Spring
dependencies { dependencies {
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter")) api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
api("org.springframework.data:spring-data-couchbase") { api("org.springframework.data:spring-data-couchbase")
exclude group: "javax.inject", module: "javax.inject"
}
} }

View File

@ -38,9 +38,7 @@ dependencies {
optional("org.springframework.data:spring-data-cassandra") { optional("org.springframework.data:spring-data-cassandra") {
exclude group: "org.slf4j", module: "jcl-over-slf4j" exclude group: "org.slf4j", module: "jcl-over-slf4j"
} }
optional("org.springframework.data:spring-data-couchbase") { optional("org.springframework.data:spring-data-couchbase")
exclude group: "javax.inject", module: "javax.inject"
}
optional("org.springframework.data:spring-data-elasticsearch") optional("org.springframework.data:spring-data-elasticsearch")
optional("org.springframework.data:spring-data-jdbc") optional("org.springframework.data:spring-data-jdbc")
optional("org.springframework.data:spring-data-jpa") optional("org.springframework.data:spring-data-jpa")