Oracle JDBC drivers and Universal Connection Pool (ucp.jar) are now available in the Oracle Maven Repository. The following versions of the JDBC drivers and UCP are available: 18.3.00, 126.96.36.199, 188.8.131.52, 184.108.40.206, and 220.127.116.11. In addition, companion jars such as simplefan.jar, ons.jar, orai18n.jar, xdb6.jar etc., required for specific features are also available. This blog outlines the steps for successfully downloading the required version of these jar files while using NetBeans, Eclipse and Intellij IDEs.
Please refer to Get Oracle JDBC drivers and UCP from the Oracle Maven Repository (without IDEs) for a step-by-step instructions to create settings.xml, settings-security.xml and pom.xml required to download JDBC drivers and UCP.
Steps to create a Maven project and download the Oracle JDBC drivers and UCP.
NetBeans Version: NetBeans IDE 8.1
Maven Version Used:Apache-Maven-3.3.9
Step#1: Click on File --> New Project and create a Maven project
Step#2: Provide Name and Location Step#3: Update pom.xml to include JDBC drivers and UCP as dependencies and Run --> Build project
Step#4: Successful Download of JDBC drivers
Eclipse Version: Mars.1 Release (4.5.1)
Maven Version Used: Apache-Maven-3.3.9
Step#1:Click on File --> New --> Maven Project Step#2: Specify the project location Step#3: Choose the Archetype Step#4: Choose project name
Step#5: Run --> Run Configurations. Change the bundled maven version to a higher version than 3.2.5
Step#6: Update pom.xml to include JDBC and UCP dependencies. Click on the project --> Run as --> Maven Build
Step#1: File --> New --> Project. Select "Create from archetype"
Step#2: Provide GAV for the project
Step#3: Change the bundled maven version to something higher than 3.2.5 --> Build project
Step#4: Enter the project name to complete the process.
Step#5: Update pom.xml to include JDBC and UCP dependencies. Click on the maven project--> compile/install to successfully download the JDBC drivers and UCP.