pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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. <parent>
  4. <artifactId>datax-all</artifactId>
  5. <groupId>com.alibaba.datax</groupId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>oceanbasev10writer</artifactId>
  10. <groupId>com.alibaba.datax</groupId>
  11. <version>0.0.1-SNAPSHOT</version>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.alibaba.datax</groupId>
  15. <artifactId>datax-common</artifactId>
  16. <version>${datax-project-version}</version>
  17. <exclusions>
  18. <exclusion>
  19. <artifactId>slf4j-log4j12</artifactId>
  20. <groupId>org.slf4j</groupId>
  21. </exclusion>
  22. </exclusions>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.alibaba.datax</groupId>
  26. <artifactId>plugin-rdbms-util</artifactId>
  27. <version>${datax-project-version}</version>
  28. <exclusions>
  29. <exclusion>
  30. <artifactId>guava</artifactId>
  31. <groupId>com.google.guava</groupId>
  32. </exclusion>
  33. <exclusion>
  34. <groupId>com.alibaba</groupId>
  35. <artifactId>druid</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>ch.qos.logback</groupId>
  45. <artifactId>logback-classic</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework</groupId>
  49. <artifactId>spring-test</artifactId>
  50. <version>4.0.4.RELEASE</version>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.alibaba</groupId>
  55. <artifactId>druid</artifactId>
  56. <version>1.2.18</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.alipay.oceanbase</groupId>
  60. <artifactId>oceanbase-connector-java</artifactId>
  61. <version>3.2.0</version>
  62. <scope>system</scope>
  63. <systemPath>${basedir}/src/main/libs/oceanbase-connector-java-3.2.0.jar</systemPath>
  64. <exclusions>
  65. <exclusion>
  66. <groupId>com.alipay.oceanbase</groupId>
  67. <artifactId>oceanbase-client</artifactId>
  68. </exclusion>
  69. </exclusions>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.oceanbase</groupId>
  73. <artifactId>oceanbase-client</artifactId>
  74. <version>2.4.11</version>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>com.google.guava</groupId>
  78. <artifactId>guava</artifactId>
  79. </exclusion>
  80. </exclusions>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.oceanbase</groupId>
  84. <artifactId>shade-ob-partition-calculator</artifactId>
  85. <version>1.0-SNAPSHOT</version>
  86. <scope>system</scope>
  87. <systemPath>${pom.basedir}/src/main/libs/shade-ob-partition-calculator-1.0-SNAPSHOT.jar</systemPath>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.google.guava</groupId>
  91. <artifactId>guava</artifactId>
  92. <version>27.0-jre</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>log4j</groupId>
  96. <artifactId>log4j</artifactId>
  97. <version>1.2.16</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.json</groupId>
  101. <artifactId>json</artifactId>
  102. <version>20160810</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>junit</groupId>
  106. <artifactId>junit</artifactId>
  107. <version>4.11</version>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.oceanbase</groupId>
  112. <artifactId>obkv-table-client</artifactId>
  113. <version>1.2.6</version>
  114. <exclusions>
  115. <exclusion>
  116. <groupId>com.alibaba</groupId>
  117. <artifactId>fastjson</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <!-- add dependency in parent project -->
  121. <groupId>org.slf4j</groupId>
  122. <artifactId>slf4j-api</artifactId>
  123. </exclusion>
  124. <exclusion>
  125. <!-- add dependency in parent project -->
  126. <groupId>com.oceanbase</groupId>
  127. <artifactId>oceanbase-client</artifactId>
  128. </exclusion>
  129. <exclusion>
  130. <!-- add dependency in parent project -->
  131. <groupId>com.google.guava</groupId>
  132. <artifactId>guava</artifactId>
  133. </exclusion>
  134. <exclusion>
  135. <groupId>commons-lang</groupId>
  136. <artifactId>commons-lang</artifactId>
  137. </exclusion>
  138. <exclusion>
  139. <groupId>com.alipay.sofa.common</groupId>
  140. <artifactId>sofa-common-tools</artifactId>
  141. </exclusion>
  142. <!-- codec module -->
  143. <exclusion>
  144. <groupId>io.netty</groupId>
  145. <artifactId>netty-codec-dns</artifactId>
  146. </exclusion>
  147. <exclusion>
  148. <groupId>io.netty</groupId>
  149. <artifactId>netty-codec-http</artifactId>
  150. </exclusion>
  151. <exclusion>
  152. <groupId>io.netty</groupId>
  153. <artifactId>netty-codec-http2</artifactId>
  154. </exclusion>
  155. <exclusion>
  156. <groupId>io.netty</groupId>
  157. <artifactId>netty-codec-haproxy</artifactId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>io.netty</groupId>
  161. <artifactId>netty-codec-mqtt</artifactId>
  162. </exclusion>
  163. <exclusion>
  164. <groupId>io.netty</groupId>
  165. <artifactId>netty-codec-memcache</artifactId>
  166. </exclusion>
  167. <exclusion>
  168. <groupId>io.netty</groupId>
  169. <artifactId>netty-codec-redis</artifactId>
  170. </exclusion>
  171. <exclusion>
  172. <groupId>io.netty</groupId>
  173. <artifactId>netty-codec-smtp</artifactId>
  174. </exclusion>
  175. <exclusion>
  176. <groupId>io.netty</groupId>
  177. <artifactId>netty-codec-socks</artifactId>
  178. </exclusion>
  179. <exclusion>
  180. <groupId>io.netty</groupId>
  181. <artifactId>netty-codec-stomp</artifactId>
  182. </exclusion>
  183. <exclusion>
  184. <groupId>io.netty</groupId>
  185. <artifactId>netty-codec-xml</artifactId>
  186. </exclusion>
  187. <!-- handler module -->
  188. <exclusion>
  189. <groupId>io.netty</groupId>
  190. <artifactId>netty-handler-proxy</artifactId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>io.netty</groupId>
  194. <artifactId>netty-handler-ssl-ocsp</artifactId>
  195. </exclusion>
  196. <!-- resolver module -->
  197. <exclusion>
  198. <groupId>io.netty</groupId>
  199. <artifactId>netty-resolver-dns</artifactId>
  200. </exclusion>
  201. <exclusion>
  202. <groupId>io.netty</groupId>
  203. <artifactId>netty-resolver-dns-classes-macos</artifactId>
  204. </exclusion>
  205. <exclusion>
  206. <groupId>io.netty</groupId>
  207. <artifactId>netty-resolver-dns-native-macos</artifactId>
  208. </exclusion>
  209. <!-- transport module -->
  210. <exclusion>
  211. <groupId>io.netty</groupId>
  212. <artifactId>netty-transport-rxtx</artifactId>
  213. </exclusion>
  214. <exclusion>
  215. <groupId>io.netty</groupId>
  216. <artifactId>netty-transport-udt</artifactId>
  217. </exclusion>
  218. <exclusion>
  219. <groupId>io.netty</groupId>
  220. <artifactId>netty-transport-sctp</artifactId>
  221. </exclusion>
  222. </exclusions>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.alipay.sofa.common</groupId>
  226. <artifactId>sofa-common-tools</artifactId>
  227. <version>1.3.11</version>
  228. <exclusions>
  229. <exclusion>
  230. <!-- add dependency in parent project -->
  231. <groupId>org.slf4j</groupId>
  232. <artifactId>slf4j-api</artifactId>
  233. </exclusion>
  234. <exclusion>
  235. <!-- add dependency in parent project -->
  236. <groupId>com.google.guava</groupId>
  237. <artifactId>guava</artifactId>
  238. </exclusion>
  239. </exclusions>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.alibaba</groupId>
  243. <artifactId>fastjson</artifactId>
  244. <version>1.2.83</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>commons-lang</groupId>
  248. <artifactId>commons-lang</artifactId>
  249. <version>2.6</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>mysql</groupId>
  253. <artifactId>mysql-connector-java</artifactId>
  254. <version>${mysql.driver.version}</version>
  255. </dependency>
  256. </dependencies>
  257. <build>
  258. <resources>
  259. <resource>
  260. <directory>src/main/java</directory>
  261. <includes>
  262. <include>**/*.properties</include>
  263. </includes>
  264. </resource>
  265. </resources>
  266. <plugins>
  267. <!-- compiler plugin -->
  268. <plugin>
  269. <artifactId>maven-compiler-plugin</artifactId>
  270. <configuration>
  271. <source>${jdk-version}</source>
  272. <target>${jdk-version}</target>
  273. <encoding>${project-sourceEncoding}</encoding>
  274. </configuration>
  275. </plugin>
  276. <!-- assembly plugin -->
  277. <plugin>
  278. <artifactId>maven-assembly-plugin</artifactId>
  279. <configuration>
  280. <descriptors>
  281. <descriptor>src/main/assembly/package.xml</descriptor>
  282. </descriptors>
  283. <finalName>datax</finalName>
  284. </configuration>
  285. <executions>
  286. <execution>
  287. <id>dwzip</id>
  288. <phase>package</phase>
  289. <goals>
  290. <goal>single</goal>
  291. </goals>
  292. </execution>
  293. </executions>
  294. </plugin>
  295. </plugins>
  296. </build>
  297. </project>