Browse Source

add oracle dependency (#11095)

xiangzihao 2 years ago
parent
commit
5b429d29b8

+ 1 - 1
docs/configs/docsdev.js

@@ -822,7 +822,7 @@ export default {
                     },
                     {
                         title: '数据源设置',
-                        link: '/zh-cn/docs/dev/user_doc/guide/howto/general-setting.html',
+                        link: '/zh-cn/docs/dev/user_doc/guide/howto/datasource-setting.html',
                     },
                     {
                         title: '其他',

+ 9 - 0
dolphinscheduler-bom/pom.xml

@@ -57,6 +57,7 @@
         <cron-utils.version>9.1.3</cron-utils.version>
         <h2.version>1.4.200</h2.version>
         <mysql-connector.version>8.0.16</mysql-connector.version>
+        <oracle-jdbc.version>21.5.0.0</oracle-jdbc.version>
         <slf4j-api.version>1.7.5</slf4j-api.version>
         <slf4j-log4j12.version>1.7.5</slf4j-log4j12.version>
         <poi.version>4.1.2</poi.version>
@@ -337,6 +338,14 @@
                 <version>${mysql-connector.version}</version>
                 <scope>test</scope>
             </dependency>
+
+            <dependency>
+                <groupId>com.oracle.database.jdbc</groupId>
+                <artifactId>ojdbc8</artifactId>
+                <version>${oracle-jdbc.version}</version>
+                <scope>test</scope>
+            </dependency>
+
             <dependency>
                 <groupId>com.h2database</groupId>
                 <artifactId>h2</artifactId>

+ 5 - 0
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-oracle/pom.xml

@@ -43,6 +43,11 @@
             <version>${project.version}</version>
         </dependency>
 
+        <dependency>
+            <groupId>com.oracle.database.jdbc</groupId>
+            <artifactId>ojdbc8</artifactId>
+        </dependency>
+
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>