DB/Oracle

Oracle JDBC 12.2.0.1 (ojdbc8.jar) + Nexus + Maven pom.xml setting

강서버 2020. 6. 6. 15:01
728x90
반응형

1. Oracle JDBC driver 12.2.0.1 (ojdbc8.jar) download

https://www.oracle.com/database/technologies/jdbc-ucp-122-downloads.html

 

2. ojdbc8.jar Nexus 3.23.x Upload

Nexus login : http://localhost:8081 Sign in

left menu [Upload] Click -> [maven-releases] click

- File : [Browse] ojdbc8.jar select

- Extension : jar

- Group ID : com.oracle.jdbc

- Artifact ID : ojdbc8

- Version : 12.2.0.1

[Upload]

 

3. pom.xml add

 

  <repositories>
    <repository>
      <id>public</id>
      <url>http://localhost:8081/repository/maven-public/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>

 

<dependencies>

   <dependency>

    <groupId>com.oracle.jdbc</groupId>

    <artifactId>ojdbc8</artifactId>

    <version>12.2.0.1</version>

   </dependency>

</dependencies>

 

728x90
반응형

'DB > Oracle' 카테고리의 다른 글

Oracle 12c 외부접속 오픈  (0) 2020.05.12