To add dependency in maven for oracle driver ojdbc6 and onwards, is not available in central repository.
You have to download the driver from oracle site and then install manually for maven.
mvn install:install-file -Dfile=C:/workSoftwares/ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
and then add dependency in pom.xml
com.oracle
ojdbc6
11.2.0.2.0
You have to download the driver from oracle site and then install manually for maven.
mvn install:install-file -Dfile=C:/workSoftwares/ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
and then add dependency in pom.xml
No comments:
Post a Comment