Skip to content

Instantly share code, notes, and snippets.

@mahbub-shohag
Last active August 5, 2019 10:11
Show Gist options
  • Save mahbub-shohag/11e78b8ca63cc5b45bfd0b5fe99756d4 to your computer and use it in GitHub Desktop.
Save mahbub-shohag/11e78b8ca63cc5b45bfd0b5fe99756d4 to your computer and use it in GitHub Desktop.
pom
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0</version>
</dependency>
terminal :
mvn install:install-file -Dfile= [pathof downloaded jar ]ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
windows : https://www.mkyong.com/maven/how-to-add-oracle-jdbc-driver-in-your-maven-local-repository/
---------------------------------------------------------
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/ojdbc6.jar</systemPath>
</dependency>
add ojdbc.jar in projects src/main/resource folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment