You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because "they do not work in a JVM with assertions enabled"
}
group("com.oracle.database.jdbc") {
imports = [
"ojdbc-bom"
]
}
}
).
The com.oracle.database.jdbc:ojdbc-bom file is not open-source licensed (https://www.oracle.com/downloads/licenses/oracle-free-license.html) and when included in spring-boot-dependencies, it prevents many companies from using Spring Boot even if they have no intention of using any Oracle database (or even a RDBMS at all). If a company is using an internal repository that blocks non-open-source libraries from getting imported, they will be unable to build Spring Boot projects, or any Spring cloud project that includes spring-boot-dependencies in the dependency closure (such as Spring Boot Cloud Gateway).
There have been many attempts to find a way to exclude this BOM dependency from the project - none of them have worked.
philwebb
changed the title
Exclude non-open-source com.oracle.database.jdbc:ojdbc-bom from spring-boot-dependencies
spring-boot-dependencies cannot be used with repositories that ban com.oracle.database.jdbc:ojdbc-bom
Mar 18, 2024
The
spring-boot-dependencies
includes thecom.oracle.database.jdbc:ojdbc-bom
in the dependencies (spring-boot/spring-boot-project/spring-boot-dependencies/build.gradle
Lines 1382 to 1392 in 5600a02
The
com.oracle.database.jdbc:ojdbc-bom
file is not open-source licensed (https://www.oracle.com/downloads/licenses/oracle-free-license.html) and when included inspring-boot-dependencies
, it prevents many companies from using Spring Boot even if they have no intention of using any Oracle database (or even a RDBMS at all). If a company is using an internal repository that blocks non-open-source libraries from getting imported, they will be unable to build Spring Boot projects, or any Spring cloud project that includesspring-boot-dependencies
in the dependency closure (such as Spring Boot Cloud Gateway).There have been many attempts to find a way to exclude this BOM dependency from the project - none of them have worked.
Is there a way you can exclude this
com.oracle.database.jdbc:ojdbc-bom
dependency or separate it out from thespring-boot-dependencies
?The text was updated successfully, but these errors were encountered: