Installing oracle jdbc in bundled Maven

Four Stars

Installing oracle jdbc in bundled Maven



As I am not an experienced user in Karaf or Maven I wonder if someone can help me with this.

We run Maven bundled with the Karaf that comes with the Talend ESB.   If I had a stand-alone maven installation I should write something like this (or at least that is what I think) to install my oracle jdbc driver in maven : 

mvn install:install-file -Dfile=ojdbc6.jar -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar

I just can't figure out how to run that command when accessing maven from inside the Karaf (through PuTTy).  Can someone guide me in the right direction?  All help is appreciated Smiley Happy


I have taken a look at this thread, but it refers mostly to the stand-alone version of Maven it seems..








Re: Installing oracle jdbc in bundled Maven


We have redirected your issue to our ESB experts and then come back to you as soon as we can.

Best regards


Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: Installing oracle jdbc in bundled Maven

Hi, What's your main concern about running "mvn install:install-file" in the OS command line (out of karaf console)? If you want do it within the karaf console, you can: karaf@trun()>exec G:/software/apache-maven-3.3.9/bin/mvn.cmd install:install-file -Dfile=ojdbc6.jar -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar Before run the "exec" command, the maven still need to be installed on your system, and put the ojdbc6.jar into KARAF_HOME/ folder. Regards. Xilai

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now


Introduction to Talend Open Studio for Data Integration.


Downloads and Trials

Test drive Talend's enterprise products.


Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.