Created
August 28, 2017 11:44
-
-
Save barbietunnie/e6e20718d3423e56d4145558ba7c2d8f 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