IT/TOOL

maven ojdbc6 추가

김보야 2018. 3. 29. 10:21

그냥 dependency만 추가하면 안됨

maven에 ojdbc가 없기에 3rdparty repository 추가한뒤에 dependency 추가



pom.xml


<repositories>

<repository>

<id>oracle</id>

<name>ORACLE JDBC Repository</name>

<url>https://maven.atlassian.com/3rdparty/</url>

</repository>

</repositories>


<dependency>

<groupId>com.oracle</groupId>

<artifactId>ojdbc6</artifactId>

<version>12.1.0.1-atlassian-hosted</version>

</dependency>