-
-
Save gwokudasam/84c593c4b74112cbca05ae19afd878c4 to your computer and use it in GitHub Desktop.
How to add Oracle JDBC driver in your Maven local repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn install:install-file -Dfile={Path/to/your/ojdbc6.jar} -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependencies> | |
<!-- ojdbc6.jar example --> | |
<dependency> | |
<groupId>com.oracle</groupId> | |
<artifactId>ojdbc6</artifactId> | |
<version>11.2.0</version> | |
</dependency> | |
<!-- ojdbc7.jar example --> | |
<dependency> | |
<groupId>com.oracle</groupId> | |
<artifactId>ojdbc7</artifactId> | |
<version>12.1.0</version> | |
</dependency> | |
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment