1
0

pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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. <groupId>com.alibaba.datax</groupId>
  5. <artifactId>datax-all</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <dependencies>
  8. <dependency>
  9. <groupId>org.hamcrest</groupId>
  10. <artifactId>hamcrest-core</artifactId>
  11. <version>1.3</version>
  12. </dependency>
  13. </dependencies>
  14. <name>datax-all</name>
  15. <packaging>pom</packaging>
  16. <properties>
  17. <jdk-version>1.8</jdk-version>
  18. <datax-project-version>0.0.1-SNAPSHOT</datax-project-version>
  19. <commons-lang3-version>3.3.2</commons-lang3-version>
  20. <commons-configuration-version>1.10</commons-configuration-version>
  21. <commons-cli-version>1.2</commons-cli-version>
  22. <fastjson-version>2.0.23</fastjson-version>
  23. <guava-version>16.0.1</guava-version>
  24. <diamond.version>3.7.2.1-SNAPSHOT</diamond.version>
  25. <!--slf4j 1.7.10 和 logback-classic 1.0.13 是好基友 -->
  26. <slf4j-api-version>1.7.10</slf4j-api-version>
  27. <logback-classic-version>1.0.13</logback-classic-version>
  28. <commons-io-version>2.4</commons-io-version>
  29. <junit-version>4.13.1</junit-version>
  30. <tddl.version>5.1.22-1</tddl.version>
  31. <swift-version>1.0.0</swift-version>
  32. <project-sourceEncoding>UTF-8</project-sourceEncoding>
  33. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  34. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  35. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  36. <mysql.driver.version>5.1.47</mysql.driver.version>
  37. </properties>
  38. <modules>
  39. <module>common</module>
  40. <module>core</module>
  41. <module>transformer</module>
  42. <!-- reader -->
  43. <module>mysqlreader</module>
  44. <module>drdsreader</module>
  45. <module>sqlserverreader</module>
  46. <module>postgresqlreader</module>
  47. <module>kingbaseesreader</module>
  48. <module>oraclereader</module>
  49. <module>cassandrareader</module>
  50. <module>oceanbasev10reader</module>
  51. <module>obhbasereader</module>
  52. <module>rdbmsreader</module>
  53. <module>odpsreader</module>
  54. <module>otsreader</module>
  55. <module>otsstreamreader</module>
  56. <module>hbase11xreader</module>
  57. <module>hbase094xreader</module>
  58. <module>hbase11xsqlreader</module>
  59. <module>hbase20xsqlreader</module>
  60. <module>ossreader</module>
  61. <module>hdfsreader</module>
  62. <module>ftpreader</module>
  63. <module>txtfilereader</module>
  64. <module>streamreader</module>
  65. <module>clickhousereader</module>
  66. <module>mongodbreader</module>
  67. <module>tdenginereader</module>
  68. <module>gdbreader</module>
  69. <module>tsdbreader</module>
  70. <module>opentsdbreader</module>
  71. <module>loghubreader</module>
  72. <module>datahubreader</module>
  73. <module>starrocksreader</module>
  74. <module>sybasereader</module>
  75. <module>dorisreader</module>
  76. <!-- writer -->
  77. <module>mysqlwriter</module>
  78. <module>starrockswriter</module>
  79. <module>drdswriter</module>
  80. <module>databendwriter</module>
  81. <module>oraclewriter</module>
  82. <module>sqlserverwriter</module>
  83. <module>postgresqlwriter</module>
  84. <module>kingbaseeswriter</module>
  85. <module>adswriter</module>
  86. <module>oceanbasev10writer</module>
  87. <module>obhbasewriter</module>
  88. <module>adbpgwriter</module>
  89. <module>hologresjdbcwriter</module>
  90. <module>rdbmswriter</module>
  91. <module>odpswriter</module>
  92. <module>osswriter</module>
  93. <module>otswriter</module>
  94. <module>hbase11xwriter</module>
  95. <module>hbase094xwriter</module>
  96. <module>hbase11xsqlwriter</module>
  97. <module>hbase20xsqlwriter</module>
  98. <module>kuduwriter</module>
  99. <module>ftpwriter</module>
  100. <module>hdfswriter</module>
  101. <module>txtfilewriter</module>
  102. <module>streamwriter</module>
  103. <module>elasticsearchwriter</module>
  104. <module>mongodbwriter</module>
  105. <module>tdenginewriter</module>
  106. <module>ocswriter</module>
  107. <module>tsdbwriter</module>
  108. <module>gdbwriter</module>
  109. <module>oscarwriter</module>
  110. <module>loghubwriter</module>
  111. <module>datahubwriter</module>
  112. <module>cassandrawriter</module>
  113. <module>clickhousewriter</module>
  114. <module>doriswriter</module>
  115. <module>selectdbwriter</module>
  116. <module>adbmysqlwriter</module>
  117. <module>sybasewriter</module>
  118. <module>neo4jwriter</module>
  119. <!-- common support module -->
  120. <module>plugin-rdbms-util</module>
  121. <module>plugin-unstructured-storage-util</module>
  122. <module>gaussdbreader</module>
  123. <module>gaussdbwriter</module>
  124. <module>datax-example</module>
  125. </modules>
  126. <dependencyManagement>
  127. <dependencies>
  128. <dependency>
  129. <groupId>org.apache.commons</groupId>
  130. <artifactId>commons-lang3</artifactId>
  131. <version>${commons-lang3-version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.alibaba.fastjson2</groupId>
  135. <artifactId>fastjson2</artifactId>
  136. <version>${fastjson-version}</version>
  137. </dependency>
  138. <!--<dependency>
  139. <groupId>com.google.guava</groupId>
  140. <artifactId>guava</artifactId>
  141. <version>${guava-version}</version>
  142. </dependency>-->
  143. <dependency>
  144. <groupId>commons-io</groupId>
  145. <artifactId>commons-io</artifactId>
  146. <version>${commons-io-version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.slf4j</groupId>
  150. <artifactId>slf4j-api</artifactId>
  151. <version>${slf4j-api-version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>ch.qos.logback</groupId>
  155. <artifactId>logback-classic</artifactId>
  156. <version>${logback-classic-version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.taobao.tddl</groupId>
  160. <artifactId>tddl-client</artifactId>
  161. <version>${tddl.version}</version>
  162. <exclusions>
  163. <exclusion>
  164. <groupId>com.google.guava</groupId>
  165. <artifactId>guava</artifactId>
  166. </exclusion>
  167. <exclusion>
  168. <groupId>com.taobao.diamond</groupId>
  169. <artifactId>diamond-client</artifactId>
  170. </exclusion>
  171. </exclusions>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.taobao.diamond</groupId>
  175. <artifactId>diamond-client</artifactId>
  176. <version>${diamond.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.alibaba.search.swift</groupId>
  180. <artifactId>swift_client</artifactId>
  181. <version>${swift-version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>junit</groupId>
  185. <artifactId>junit</artifactId>
  186. <version>${junit-version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.mockito</groupId>
  190. <artifactId>mockito-all</artifactId>
  191. <version>1.9.5</version>
  192. <scope>test</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.apache.logging.log4j</groupId>
  196. <artifactId>log4j-api</artifactId>
  197. <version>2.17.1</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.apache.logging.log4j</groupId>
  201. <artifactId>log4j-core</artifactId>
  202. <version>2.17.1</version>
  203. </dependency>
  204. </dependencies>
  205. </dependencyManagement>
  206. <repositories>
  207. <repository>
  208. <id>central</id>
  209. <name>Nexus aliyun</name>
  210. <url>https://maven.aliyun.com/repository/central</url>
  211. <releases>
  212. <enabled>true</enabled>
  213. </releases>
  214. <snapshots>
  215. <enabled>true</enabled>
  216. </snapshots>
  217. </repository>
  218. <repository>
  219. <id>spring</id>
  220. <name>spring</name>
  221. <url>https://maven.aliyun.com/repository/spring</url>
  222. <releases>
  223. <enabled>true</enabled>
  224. </releases>
  225. <snapshots>
  226. <enabled>true</enabled>
  227. </snapshots>
  228. </repository>
  229. </repositories>
  230. <pluginRepositories>
  231. <pluginRepository>
  232. <id>central</id>
  233. <name>Nexus aliyun</name>
  234. <url>https://maven.aliyun.com/repository/central</url>
  235. <releases>
  236. <enabled>true</enabled>
  237. </releases>
  238. <snapshots>
  239. <enabled>true</enabled>
  240. </snapshots>
  241. </pluginRepository>
  242. </pluginRepositories>
  243. <build>
  244. <resources>
  245. <resource>
  246. <directory>src/main/java</directory>
  247. <includes>
  248. <include>**/*.properties</include>
  249. </includes>
  250. </resource>
  251. </resources>
  252. <plugins>
  253. <plugin>
  254. <artifactId>maven-assembly-plugin</artifactId>
  255. <configuration>
  256. <finalName>datax</finalName>
  257. <descriptors>
  258. <descriptor>package.xml</descriptor>
  259. </descriptors>
  260. </configuration>
  261. <executions>
  262. <execution>
  263. <id>make-assembly</id>
  264. <phase>package</phase>
  265. </execution>
  266. </executions>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-compiler-plugin</artifactId>
  271. <version>2.3.2</version>
  272. <configuration>
  273. <source>${jdk-version}</source>
  274. <target>${jdk-version}</target>
  275. <encoding>${project-sourceEncoding}</encoding>
  276. </configuration>
  277. </plugin>
  278. </plugins>
  279. </build>
  280. </project>