El rincón de Dario
Posts tagged oracle
Add Oracle JDBC drivers to your local maven repository
01 year ago
by Dario Pardo
in Maven
The steps to add the Oracle JDBC Drivers to your local Maven repository can be found here:
Here I am recording them for me just in case that entry goes away:
Step 1
Find the oralce jdbc jar in your oracle client software. If you do not have the Oracle Client, install it.
Step 2
cd to the directory where the oracle client jar is located. In my case: C:\ORA10gClient\jdbc\lib
Step 3
Install the jar by typing the following maven command:
mvn install:install-file -Dfile=ojdbc14_g.jar -DgroupId=com.oracle \ -DartifactId=oracle -Dversion=10.2.0.1.0 -Dpackaging=jar -DgeneratePom=true
Step 4
Add the following dependency to your project’s pom.xml
com.oracle oracle 10.2.0.1.0



