Find Oracle JDBC driver in Maven repository

前端 未结 22 1812
你的背包
你的背包 2020-11-22 09:28

I want to add the oracle jdbc driver to my project as dependency (runtime scope) - ojdbc14. In MVNrepository site the dependency to put in the POM is:



        
22条回答
  •  说谎
    说谎 (楼主)
    2020-11-22 10:05

    Up to now, its not possible to use maven repositories. I'm using ivy as dependency management tool, but also use maven2' s ibiblio repositories. And this is working for ivy:

    
    

    Maven2' s dependency could be something like that:

     
        oracle 
        ojdbc14 
        10.2.0.2 
    
    

    Notice that i define http://download.java.net/maven/2/ and http://mirrors.ibiblio.org/pub/mirrors/maven/mule/dependencies/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext] as external maven2 repos on my ivy settings.

提交回复
热议问题