pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <parent>
  22. <artifactId>dolphinscheduler</artifactId>
  23. <groupId>org.apache.dolphinscheduler</groupId>
  24. <version>dev-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>dolphinscheduler-data-quality</artifactId>
  28. <name>dolphinscheduler-data-quality</name>
  29. <packaging>jar</packaging>
  30. <properties>
  31. <scala.binary.version>2.11</scala.binary.version>
  32. <spark.version>2.4.0</spark.version>
  33. <jackson.version>2.9.0</jackson.version>
  34. <scope>provided</scope>
  35. </properties>
  36. <dependencies>
  37. <dependency>
  38. <groupId>org.apache.spark</groupId>
  39. <artifactId>spark-core_${scala.binary.version}</artifactId>
  40. <version>${spark.version}</version>
  41. <scope>${scope}</scope>
  42. <exclusions>
  43. <exclusion>
  44. <artifactId>jackson-module-scala_2.11</artifactId>
  45. <groupId>com.fasterxml.jackson.module</groupId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.spark</groupId>
  51. <artifactId>spark-sql_${scala.binary.version}</artifactId>
  52. <version>${spark.version}</version>
  53. <scope>${scope}</scope>
  54. <exclusions>
  55. <exclusion>
  56. <artifactId>jackson-core</artifactId>
  57. <groupId>com.fasterxml.jackson.core</groupId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.spark</groupId>
  63. <artifactId>spark-hive_${scala.binary.version}</artifactId>
  64. <version>${spark.version}</version>
  65. <exclusions>
  66. <exclusion>
  67. <groupId>commons-httpclient</groupId>
  68. <artifactId>commons-httpclient</artifactId>
  69. </exclusion>
  70. <exclusion>
  71. <groupId>org.apache.httpcomponents</groupId>
  72. <artifactId>httpclient</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <artifactId>jackson-core-asl</artifactId>
  76. <groupId>org.codehaus.jackson</groupId>
  77. </exclusion>
  78. <exclusion>
  79. <artifactId>jackson-mapper-asl</artifactId>
  80. <groupId>org.codehaus.jackson</groupId>
  81. </exclusion>
  82. </exclusions>
  83. <scope>${scope}</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.h2database</groupId>
  87. <artifactId>h2</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>mysql</groupId>
  92. <artifactId>mysql-connector-java</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.postgresql</groupId>
  96. <artifactId>postgresql</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>ru.yandex.clickhouse</groupId>
  100. <artifactId>clickhouse-jdbc</artifactId>
  101. <exclusions>
  102. <exclusion>
  103. <artifactId>jackson-core</artifactId>
  104. <groupId>com.fasterxml.jackson.core</groupId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.microsoft.sqlserver</groupId>
  110. <artifactId>mssql-jdbc</artifactId>
  111. <exclusions>
  112. <exclusion>
  113. <artifactId>azure-keyvault</artifactId>
  114. <groupId>com.microsoft.azure</groupId>
  115. </exclusion>
  116. </exclusions>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.facebook.presto</groupId>
  120. <artifactId>presto-jdbc</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.google.guava</groupId>
  124. <artifactId>guava</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.fasterxml.jackson.core</groupId>
  128. <artifactId>jackson-databind</artifactId>
  129. <version>${jackson.version}</version>
  130. <scope>${scope}</scope>
  131. <exclusions>
  132. <exclusion>
  133. <artifactId>jackson-core</artifactId>
  134. <groupId>com.fasterxml.jackson.core</groupId>
  135. </exclusion>
  136. </exclusions>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.fasterxml.jackson.module</groupId>
  140. <artifactId>jackson-module-scala_2.11</artifactId>
  141. <version>${jackson.version}</version>
  142. <scope>${scope}</scope>
  143. <exclusions>
  144. <exclusion>
  145. <artifactId>jackson-core</artifactId>
  146. <groupId>com.fasterxml.jackson.core</groupId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.codehaus.janino</groupId>
  152. <artifactId>janino</artifactId>
  153. <version>3.0.8</version>
  154. <scope>${scope}</scope>
  155. </dependency>
  156. </dependencies>
  157. <build>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-assembly-plugin</artifactId>
  162. <version>2.2</version>
  163. <configuration>
  164. <appendAssemblyId>false</appendAssemblyId>
  165. <descriptorRefs>
  166. <descriptorRef>jar-with-dependencies</descriptorRef>
  167. </descriptorRefs>
  168. <archive>
  169. <manifest>
  170. <mainClass>org.apache.dolphinscheduler.data.quality.DataQualityApplication</mainClass>
  171. </manifest>
  172. </archive>
  173. </configuration>
  174. <executions>
  175. <execution>
  176. <id>make-assembly</id>
  177. <phase>package</phase>
  178. <goals>
  179. <goal>single</goal>
  180. </goals>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>