I recently worked on a Spring boot project with this maven dependency, Sprint Boot 3.0.7,

<dependency>
    <groupId>com.oracle.database.jdbc</groupId>
    <artifactId>ojdbc8</artifactId>
    <version>19.17.0.0</version>
</dependency>

When I build the project, it refers to sprint-boot-dependencies-3.0.7.pom, this pom contains the following dependency,

<dependency>
    <groupId>com.oracle.database.jdbc</groupId>
    <artifactId>ojdbc-bom</artifactId>
    <version>${oracle-database.version}</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>

however, in the ojdbc-bom folder, there is no 19.17.0.0 version available, the build failed with a non-resolvable dependency error.

is it possible to add 19.17.0.0 there? they are available in ojdbc8 and ojdbc10 folders.

Thanks.

Comment From: scottfrederick

Spring Boot 3.0.7 uses version 21.7.0.0 for the managed Oracle JDBC BOM, as is shown in the documentation. If you want a different version you can set the oracle-database.version property. Maven Central has a 19.17.0.0 version of the BOM.

As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Please use Stack Overflow for any follow-up questions.

Comment From: boyuyang2

19.17.0.0

I did add above to the project, but some how it still invoke spring-boot-dependencies-3.0.7.pom, anyway to get rid of it?

Comment From: philwebb

@boyuyang2 Please read this section of our Maven documentation. https://docs.spring.io/spring-boot/docs/3.1.0/maven-plugin/reference/htmlsingle/#using.parent-pom.

If you have further issues, please ask on stackoverflow.com and provide a sample project so that people can help you.