GSM
GSM

Reputation: 5

How to add Ojdbc14.jar in maven local repository?

Whenever I am trying to add

<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.2.0</version>

in maven dependencies it shows Missing artifact com.oracle:ojdbc14:jar:10.2.0.2.0.

What am I doing wrong?

Upvotes: 0

Views: 4311

Answers (1)

Panciz
Panciz

Reputation: 2234

You need to install oracle jar file to your local repository manually See here

From command line you can run:

mvn install:install-file -Dfile=<path-to-jar-file> -DgroupId=com.oracle \
-DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar

You can download the jar file here

Upvotes: 1

Related Questions