pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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_metro</artifactId>
  12. <properties>
  13. <skipTests>true</skipTests>
  14. <flink.version>1.10.2</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. <kudu.version>1.9.0</kudu.version>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.apache.flink</groupId>
  29. <artifactId>flink-cep_${scala.binary.version}</artifactId>
  30. <version>${flink.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.flink</groupId>
  34. <artifactId>flink-shaded-hadoop-2-uber</artifactId>
  35. <version>2.8.3-10.0</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.java-websocket</groupId>
  39. <artifactId>Java-WebSocket</artifactId>
  40. <version>1.3.8</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.flink</groupId>
  44. <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
  45. <version>${flink.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.flink</groupId>
  49. <artifactId>flink-runtime-web_${scala.binary.version}</artifactId>
  50. <version>${flink.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.flink</groupId>
  54. <artifactId>flink-connector-kafka_${scala.binary.version}</artifactId>
  55. <version>${flink.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.flink</groupId>
  59. <artifactId>flink-core</artifactId>
  60. <version>${flink.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.flink</groupId>
  64. <artifactId>flink-statebackend-rocksdb_${scala.binary.version}</artifactId>
  65. <version>${flink.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.flink</groupId>
  69. <artifactId>flink-clients_${scala.binary.version}</artifactId>
  70. <version>${flink.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.flink</groupId>
  74. <artifactId>flink-hbase_${scala.binary.version}</artifactId>
  75. <version>${flink.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.hadoop</groupId>
  79. <artifactId>hadoop-common</artifactId>
  80. <version>2.8.3</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.ahocorasick</groupId>
  85. <artifactId>ahocorasick</artifactId>
  86. <version>0.4.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.cloudera.impala</groupId>
  90. <artifactId>ImpalaJDBC41</artifactId>
  91. <version>2.6.4</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>joda-time</groupId>
  95. <artifactId>joda-time</artifactId>
  96. <version>2.3</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.fasterxml.jackson.core</groupId>
  100. <artifactId>jackson-core</artifactId>
  101. <version>2.6.7</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.curator</groupId>
  105. <artifactId>curator-recipes</artifactId>
  106. <version>2.13.0</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.kudu</groupId>
  110. <artifactId>kudu-client</artifactId>
  111. <version>${kudu.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.flink</groupId>
  115. <artifactId>flink-csv</artifactId>
  116. <version>${flink.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.flink</groupId>
  120. <artifactId>flink-jdbc_${scala.binary.version}</artifactId>
  121. <version>${flink.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.flink</groupId>
  125. <artifactId>flink-table-api-java-bridge_${scala.binary.version}</artifactId>
  126. <version>${flink.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.flink</groupId>
  130. <artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
  131. <version>${flink.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.flink</groupId>
  135. <artifactId>flink-table-common</artifactId>
  136. <version>${flink.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.apache.flink</groupId>
  140. <artifactId>flink-json</artifactId>
  141. <version>${flink.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.flink</groupId>
  145. <artifactId>flink-shaded-guava</artifactId>
  146. <version>18.0-5.0</version>
  147. <scope>compile</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.flink</groupId>
  151. <artifactId>flink-connector-elasticsearch7_2.11</artifactId>
  152. <version>${flink.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.flink</groupId>
  156. <artifactId>flink-metrics-core</artifactId>
  157. <version>1.12.2</version>
  158. <scope>compile</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.commons</groupId>
  162. <artifactId>commons-dbcp2</artifactId>
  163. <version>2.1.1</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>mysql</groupId>
  167. <artifactId>mysql-connector-java</artifactId>
  168. <version>8.0.11</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.projectlombok</groupId>
  172. <artifactId>lombok</artifactId>
  173. </dependency>
  174. </dependencies>
  175. <build>
  176. <plugins>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-assembly-plugin</artifactId>
  180. <configuration>
  181. <descriptorRefs>
  182. <descriptorRef>jar-with-dependencies</descriptorRef>
  183. </descriptorRefs>
  184. <archive>
  185. <manifest>
  186. <mainClass>com.sunwin.metro.start.StartMessage</mainClass>
  187. </manifest>
  188. </archive>
  189. </configuration>
  190. <executions>
  191. <execution>
  192. <id>make-assembly</id>
  193. <phase>package</phase>
  194. <goals>
  195. <goal>single</goal>
  196. </goals>
  197. </execution>
  198. </executions>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-compiler-plugin</artifactId>
  203. <version>3.1</version>
  204. <configuration>
  205. <source>8</source>
  206. <target>8</target>
  207. <encoding>UTF-8</encoding>
  208. </configuration>
  209. </plugin>
  210. </plugins>
  211. </build>
  212. </project>