pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.alibaba.otter</groupId>
  6. <artifactId>canal</artifactId>
  7. <version>1.1.7-SNAPSHOT</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <groupId>com.alibaba.otter</groupId>
  11. <artifactId>canal.client-adapter</artifactId>
  12. <version>1.1.7-SNAPSHOT</version>
  13. <packaging>pom</packaging>
  14. <name>canal client adapter module for otter ${project.version}</name>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.test.skip>true</maven.test.skip>
  18. <downloadSources>true</downloadSources>
  19. <java_source_version>1.8</java_source_version>
  20. <java_target_version>1.8</java_target_version>
  21. <file_encoding>UTF-8</file_encoding>
  22. <log4j_version>2.17.0</log4j_version>
  23. </properties>
  24. <modules>
  25. <module>common</module>
  26. <module>logger</module>
  27. <module>hbase</module>
  28. <module>launcher</module>
  29. <module>rdb</module>
  30. <module>es6x</module>
  31. <module>es7x</module>
  32. <module>escore</module>
  33. <module>kudu</module>
  34. <module>phoenix</module>
  35. <module>tablestore</module>
  36. </modules>
  37. <licenses>
  38. <license>
  39. <name>Apache License, Version 2.0</name>
  40. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  41. </license>
  42. </licenses>
  43. <scm>
  44. <url>git@github.com:alibaba/canal.git</url>
  45. <connection>scm:git:git@github.com:alibaba/canal.git</connection>
  46. <developerConnection>scm:git:git@github.com:alibaba/canal.git</developerConnection>
  47. </scm>
  48. <repositories>
  49. <repository>
  50. <id>central</id>
  51. <url>http://repo1.maven.org/maven2</url>
  52. <releases>
  53. <enabled>true</enabled>
  54. </releases>
  55. <snapshots>
  56. <enabled>false</enabled>
  57. </snapshots>
  58. </repository>
  59. <repository>
  60. <id>java.net</id>
  61. <url>http://download.java.net/maven/2/</url>
  62. <releases>
  63. <enabled>true</enabled>
  64. </releases>
  65. <snapshots>
  66. <enabled>false</enabled>
  67. </snapshots>
  68. </repository>
  69. <repository>
  70. <id>aliyun</id>
  71. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  72. <releases>
  73. <enabled>true</enabled>
  74. </releases>
  75. <snapshots>
  76. <enabled>false</enabled>
  77. </snapshots>
  78. </repository>
  79. <repository>
  80. <id>sonatype</id>
  81. <name>sonatype</name>
  82. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  83. <releases>
  84. <enabled>false</enabled>
  85. </releases>
  86. <snapshots>
  87. <enabled>true</enabled>
  88. </snapshots>
  89. </repository>
  90. <repository>
  91. <id>sonatype-release</id>
  92. <name>sonatype-release</name>
  93. <url>https://oss.sonatype.org/service/local/repositories/releases/content</url>
  94. <releases>
  95. <enabled>false</enabled>
  96. </releases>
  97. <snapshots>
  98. <enabled>true</enabled>
  99. </snapshots>
  100. </repository>
  101. </repositories>
  102. <dependencyManagement>
  103. <dependencies>
  104. <dependency>
  105. <groupId>org.springframework.cloud</groupId>
  106. <artifactId>spring-cloud-context</artifactId>
  107. <version>2.0.0.RELEASE</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot</artifactId>
  112. <version>2.0.1.RELEASE</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.h2database</groupId>
  116. <artifactId>h2</artifactId>
  117. <version>1.4.192</version>
  118. </dependency>
  119. <!-- 单独引入rocketmq依赖 -->
  120. <dependency>
  121. <groupId>org.apache.rocketmq</groupId>
  122. <artifactId>rocketmq-client</artifactId>
  123. <version>4.5.1</version>
  124. </dependency>
  125. <!-- 单独引入kafka依赖 -->
  126. <dependency>
  127. <groupId>org.apache.kafka</groupId>
  128. <artifactId>kafka-clients</artifactId>
  129. <version>1.1.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.rabbitmq</groupId>
  133. <artifactId>amqp-client</artifactId>
  134. <version>5.5.0</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.alibaba.mq-amqp</groupId>
  138. <artifactId>mq-amqp-client</artifactId>
  139. <version>1.0.3</version>
  140. </dependency>
  141. <!-- jdbc -->
  142. <dependency>
  143. <groupId>mysql</groupId>
  144. <artifactId>mysql-connector-java</artifactId>
  145. <version>5.1.48</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.postgresql</groupId>
  149. <artifactId>postgresql</artifactId>
  150. <version>42.1.4</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.oracle.database.jdbc</groupId>
  154. <artifactId>ojdbc6</artifactId>
  155. <version>11.2.0.4</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.microsoft.sqlserver</groupId>
  159. <artifactId>mssql-jdbc</artifactId>
  160. <version>7.0.0.jre8</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.hbase</groupId>
  164. <artifactId>hbase-shaded-client</artifactId>
  165. <version>1.1.2</version>
  166. <exclusions>
  167. <exclusion>
  168. <groupId>org.slf4j</groupId>
  169. <artifactId>slf4j-log4j12</artifactId>
  170. </exclusion>
  171. <exclusion>
  172. <groupId>jdk.tools</groupId>
  173. <artifactId>jdk.tools</artifactId>
  174. </exclusion>
  175. </exclusions>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.curator</groupId>
  179. <artifactId>curator-recipes</artifactId>
  180. <version>2.10.0</version>
  181. </dependency>
  182. <!-- 单独指定guava版本,兼容curator-client -->
  183. <dependency>
  184. <groupId>com.google.guava</groupId>
  185. <artifactId>guava</artifactId>
  186. <version>18.0</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>joda-time</groupId>
  190. <artifactId>joda-time</artifactId>
  191. <version>2.9.4</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.yaml</groupId>
  195. <artifactId>snakeyaml</artifactId>
  196. <version>1.19</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.powermock</groupId>
  200. <artifactId>powermock-api-mockito</artifactId>
  201. <version>1.6.5</version>
  202. <scope>test</scope>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.powermock</groupId>
  206. <artifactId>powermock-module-junit4</artifactId>
  207. <version>1.6.5</version>
  208. <scope>test</scope>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.mockito</groupId>
  212. <artifactId>mockito-all</artifactId>
  213. <version>1.10.19</version>
  214. <scope>test</scope>
  215. </dependency>
  216. <dependency>
  217. <groupId>junit</groupId>
  218. <artifactId>junit</artifactId>
  219. <version>4.8.2</version>
  220. <scope>test</scope>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.diffblue</groupId>
  224. <artifactId>deeptestutils</artifactId>
  225. <version>1.9.0</version>
  226. <scope>test</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.aliyun.openservices</groupId>
  230. <artifactId>tablestore</artifactId>
  231. <version>5.10.3</version>
  232. <classifier>jar-with-dependencies</classifier>
  233. <exclusions>
  234. <exclusion>
  235. <groupId>com.google.protobuf</groupId>
  236. <artifactId>protobuf-java</artifactId>
  237. </exclusion>
  238. <exclusion>
  239. <groupId>org.apache.httpcomponents</groupId>
  240. <artifactId>httpasyncclient</artifactId>
  241. </exclusion>
  242. </exclusions>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.logging.log4j</groupId>
  246. <artifactId>log4j-core</artifactId>
  247. <version>${log4j_version}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.apache.logging.log4j</groupId>
  251. <artifactId>log4j-api</artifactId>
  252. <version>${log4j_version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.apache.logging.log4j</groupId>
  256. <artifactId>log4j-to-slf4j</artifactId>
  257. <version>${log4j_version}</version>
  258. </dependency>
  259. </dependencies>
  260. </dependencyManagement>
  261. <build>
  262. <plugins>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-compiler-plugin</artifactId>
  266. <version>3.7.0</version>
  267. <configuration>
  268. <source>${java_source_version}</source>
  269. <target>${java_target_version}</target>
  270. <encoding>${file_encoding}</encoding>
  271. </configuration>
  272. </plugin>
  273. </plugins>
  274. </build>
  275. <distributionManagement>
  276. <snapshotRepository>
  277. <id>sonatype-nexus-snapshots</id>
  278. <name>Sonatype Nexus Snapshots</name>
  279. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  280. </snapshotRepository>
  281. <repository>
  282. <id>sonatype-nexus-staging</id>
  283. <name>Nexus Release Repository</name>
  284. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  285. </repository>
  286. </distributionManagement>
  287. </project>