2019-05-31 ojdbc6 安装到本地maven仓库

首先下载:

https://www.oracle.com/technetwork/cn/database/enterprise-edition/jdbc-112010-094555-zhs.html

11.2.0.4

执行maven命令

mvn install:install-file -Dfile=/C/Users/zilong/Downloads/ojdbc6-11.2.0.4.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.4 -Dpackaging=jar

这里有个版本

https://mvnrepository.com/artifact/oracle/ojdbc6/11.2.0.3

你需要再POM里面加上这段才能用

  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    
      Datanucleus
      Datanucleus
      http://www.datanucleus.org/downloads/maven2/
    
    
      jcenter-snapshots
      jcenter
      http://oss.jfrog.org/artifactory/oss-snapshot-local/
    


  

当然如果你把注解打开,原来找不到的包基本上都能找到了

你可能感兴趣的:(2019-05-31 ojdbc6 安装到本地maven仓库)