You have to add the ojdbc jar to your local maven repo:

mvn install:install-file -Dfile="C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib\ojdbc6.jar" -DgroupId=ojdbc -DartifactId=ojdbc -Dversion=11.2.0.2.0 -Dpackaging=jar

Christian

Am 13.06.2012 14:27, schrieb Subhanjan:


I am creating a project which will have database at its back end. For that I
need ojdbc.jar. The problem is whenever I add ojdbc14.jar dependency and
save in pom.xml (I use m2eclipse plugin) it gives me a weird error 'Missing
artifact com.oracle:ojdbc14:jar:10.2.0.3.0:compile'. whenever I remove this
jar file from pom.xml the error disappears. I don't get why this is
happening ?? What is the solution for this ???

Somepne plz give me any solution.


--
View this message in context: 
http://camel.465427.n5.nabble.com/Adding-Dependencies-in-pom-xml-tp5714425.html
Sent from the Camel - Users mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to