e.g. we'd like to use ojdbc14.jar for Oracle 10.2.0.1.0
1) install jdbc driver in mvn repository
mvn install:install-file -Dfile={ORACLE_HOME}/jdbc/lib/ojdbc14.jar -Dpackaging=jar -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0
2) specify dependency in pom.xml
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.1.0</version>
</dependency>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment