pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>sunwin_metro</artifactId>
  7. <groupId>org.sunwin</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>flink_1.20</artifactId>
  12. <properties>
  13. <skipTests>true</skipTests>
  14. <flink.version>1.12.0</flink.version>
  15. <java.version>1.8</java.version>
  16. <scala.binary.version>2.12</scala.binary.version>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. <cdh.version>cdh5.16.2</cdh.version>
  20. <hbase.version>1.2.0</hbase.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <zookeeper.version>3.4.8</zookeeper.version>
  24. <lombok.version>1.18.12</lombok.version>
  25. <junit.jupiter.version>5.4.1</junit.jupiter.version>
  26. <kudu.version>1.14.0</kudu.version>
  27. <flink-function.verion>1.0-SNAPSHOT</flink-function.verion>
  28. <mockito.version>1.10.19</mockito.version>
  29. <log4j2.version>2.13.3</log4j2.version>
  30. <caffeine.version>2.8.8</caffeine.version>
  31. <drools.version>7.4.1.Final</drools.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>com.ejlchina</groupId>
  36. <artifactId>okhttps-gson</artifactId>
  37. <version>3.1.0</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.flink</groupId>
  41. <artifactId>flink-cep_${scala.binary.version}</artifactId>
  42. <version>${flink.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.flink</groupId>
  46. <artifactId>flink-shaded-hadoop-2-uber</artifactId>
  47. <version>2.8.3-10.0</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.flink</groupId>
  51. <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
  52. <version>${flink.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.flink</groupId>
  56. <artifactId>flink-runtime-web_${scala.binary.version}</artifactId>
  57. <version>${flink.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.flink</groupId>
  61. <artifactId>flink-core</artifactId>
  62. <version>${flink.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.flink</groupId>
  66. <artifactId>flink-statebackend-rocksdb_${scala.binary.version}</artifactId>
  67. <version>${flink.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.flink</groupId>
  71. <artifactId>flink-clients_${scala.binary.version}</artifactId>
  72. <version>${flink.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.ahocorasick</groupId>
  76. <artifactId>ahocorasick</artifactId>
  77. <version>0.4.0</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>joda-time</groupId>
  81. <artifactId>joda-time</artifactId>
  82. <version>2.3</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.fasterxml.jackson.core</groupId>
  86. <artifactId>jackson-core</artifactId>
  87. <version>2.6.7</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.curator</groupId>
  91. <artifactId>curator-recipes</artifactId>
  92. <version>2.13.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.kudu</groupId>
  96. <artifactId>kudu-client</artifactId>
  97. <version>${kudu.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.kudu</groupId>
  101. <artifactId>kudu-test-utils</artifactId>
  102. <version>${kudu.version}</version>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.github.ben-manes.caffeine</groupId>
  107. <artifactId>caffeine</artifactId>
  108. <version>${caffeine.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.mockito</groupId>
  112. <artifactId>mockito-all</artifactId>
  113. <version>${mockito.version}</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.projectlombok</groupId>
  118. <artifactId>lombok</artifactId>
  119. <version>${lombok.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>mysql</groupId>
  123. <artifactId>mysql-connector-java</artifactId>
  124. <version>8.0.22</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.flink</groupId>
  128. <artifactId>flink-csv</artifactId>
  129. <version>${flink.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.flink</groupId>
  133. <artifactId>flink-table-api-java-bridge_${scala.binary.version}</artifactId>
  134. <version>${flink.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.flink</groupId>
  138. <artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
  139. <version>${flink.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.flink</groupId>
  143. <artifactId>flink-table-common</artifactId>
  144. <version>${flink.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.flink</groupId>
  148. <artifactId>flink-json</artifactId>
  149. <version>${flink.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.alibaba.ververica</groupId>
  153. <artifactId>flink-connector-mysql-cdc</artifactId>
  154. <version>1.2.0</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.flink</groupId>
  158. <artifactId>flink-connector-jdbc_${scala.binary.version}</artifactId>
  159. <version>${flink.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.junit.jupiter</groupId>
  163. <artifactId>junit-jupiter-migrationsupport</artifactId>
  164. <version>${junit.jupiter.version}</version>
  165. <scope>test</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.logging.log4j</groupId>
  169. <artifactId>log4j-api</artifactId>
  170. <version>${log4j2.version}</version>
  171. <scope>test</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.apache.logging.log4j</groupId>
  175. <artifactId>log4j-core</artifactId>
  176. <version>${log4j2.version}</version>
  177. <scope>test</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.apache.logging.log4j</groupId>
  181. <artifactId>log4j-slf4j-impl</artifactId>
  182. <version>${log4j2.version}</version>
  183. <scope>test</scope>
  184. </dependency>
  185. <dependency>
  186. <artifactId>flink-connector-kudu_2.11</artifactId>
  187. <groupId>org.colloh.kudu.connector</groupId>
  188. <version>1.2.1</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.apache.hive</groupId>
  192. <artifactId>hive-exec</artifactId>
  193. <version>3.1.2</version>
  194. <exclusions>
  195. <exclusion>
  196. <artifactId>log4j-core</artifactId>
  197. <groupId>org.apache.logging.log4j</groupId>
  198. </exclusion>
  199. <exclusion>
  200. <artifactId>log4j-1.2-api</artifactId>
  201. <groupId>org.apache.logging.log4j</groupId>
  202. </exclusion>
  203. <exclusion>
  204. <artifactId>log4j-slf4j-impl</artifactId>
  205. <groupId>org.apache.logging.log4j</groupId>
  206. </exclusion>
  207. <exclusion>
  208. <artifactId>log4j-web</artifactId>
  209. <groupId>org.apache.logging.log4j</groupId>
  210. </exclusion>
  211. </exclusions>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.antlr</groupId>
  215. <artifactId>ST4</artifactId>
  216. <version>4.0.8</version>
  217. <scope>compile</scope>
  218. </dependency>
  219. <!-- mysql Github 连接工具 -->
  220. <dependency>
  221. <groupId>pro.husk</groupId>
  222. <artifactId>mysql</artifactId>
  223. <version>1.4.1-SNAPSHOT</version>
  224. </dependency>
  225. </dependencies>
  226. <!-- 自动生成数据库文档的插件 对象数据库中所有表 -->
  227. <build>
  228. <plugins>
  229. <plugin>
  230. <groupId>cn.smallbun.screw</groupId>
  231. <artifactId>screw-maven-plugin</artifactId>
  232. <!-- 这里的版本号可以用最新的,我现在1.0.4就是最新的 -->
  233. <version>1.0.5</version>
  234. <dependencies>
  235. <!-- HikariCP -->
  236. <dependency>
  237. <groupId>com.zaxxer</groupId>
  238. <artifactId>HikariCP</artifactId>
  239. <version>3.4.5</version>
  240. </dependency>
  241. <!--mysql driver-->
  242. <dependency>
  243. <groupId>mysql</groupId>
  244. <artifactId>mysql-connector-java</artifactId>
  245. <version>8.0.20</version>
  246. </dependency>
  247. </dependencies>
  248. <configuration>
  249. <!--username-->
  250. <username>root</username>
  251. <!--password-->
  252. <password>root</password>
  253. <!--driver-->
  254. <driverClassName>com.mysql.cj.jdbc.Driver</driverClassName>
  255. <!--jdbc url-->
  256. <jdbcUrl>jdbc:mysql://192.168.20.61:3306/swbd?characterEncoding=utf-8</jdbcUrl>
  257. <!--生成文件类型,有HTML WORD MD-->
  258. <fileType>WORD</fileType>
  259. <!--打开文件输出目录-->
  260. <openOutputDir>false</openOutputDir>
  261. <!--生成模板-->
  262. <produceType>freemarker</produceType>
  263. <!--文档名称 为空时:将采用[数据库名称-描述-版本号]作为文档名称-->
  264. <fileName>测试文档名称</fileName>
  265. <!--描述-->
  266. <description>数据库文档生成</description>
  267. <!--版本-->
  268. <version>${project.version}</version>
  269. <!--标题-->
  270. <title>数据库文档</title>
  271. </configuration>
  272. <executions>
  273. <execution>
  274. <phase>compile</phase>
  275. <goals>
  276. </goals>
  277. </execution>
  278. </executions>
  279. </plugin>
  280. </plugins>
  281. </build>
  282. </project>