Get odbc8.jar from Oracle instant client or any Oracle client installation.

Using a local Maven project, copy and run:

mvnw install:install-file -Dfile=ojdbc8.jar -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar

Change ojdbc8.jar location for custom path.

Maven Entry

<dependency>
  <groupId>com.oracle</groupId>
  <artifactId>ojdbc8</artifactId>
  <version>12.2.0.1</version>
	<scope>runtime</scope>
</dependency>