1
0

pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. 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>obhbasewriter</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. </exclusions>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.slf4j</groupId>
  37. <artifactId>slf4j-api</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>ch.qos.logback</groupId>
  41. <artifactId>logback-classic</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework</groupId>
  45. <artifactId>spring-test</artifactId>
  46. <version>4.0.4.RELEASE</version>
  47. <scope>test</scope>
  48. </dependency>
  49. <!--
  50. <dependency>
  51. <groupId>com.taobao.tddl</groupId>
  52. <artifactId>tddl-client</artifactId>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>com.google.guava</groupId>
  56. <artifactId>guava</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>com.taobao.diamond</groupId>
  60. <artifactId>diamond-client</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>-->
  64. <dependency>
  65. <groupId>com.google.guava</groupId>
  66. <artifactId>guava</artifactId>
  67. <version>33.1.0-jre</version>
  68. </dependency>
  69. <!--<dependency>
  70. <groupId>com.alipay.oceanbase</groupId>
  71. <artifactId>oceanbase-connector-java</artifactId>
  72. <version>3.2.0</version>
  73. </dependency>-->
  74. <dependency>
  75. <groupId>log4j</groupId>
  76. <artifactId>log4j</artifactId>
  77. <version>1.2.16</version>
  78. </dependency>
  79. <!--
  80. <dependency>
  81. <groupId>com.alibaba.toolkit.common</groupId>
  82. <artifactId>toolkit-common-logging</artifactId>
  83. <version>1.10</version>
  84. </dependency> -->
  85. <dependency>
  86. <groupId>org.json</groupId>
  87. <artifactId>json</artifactId>
  88. <version>20160810</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>junit</groupId>
  92. <artifactId>junit</artifactId>
  93. <version>4.11</version>
  94. <scope>test</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.powermock</groupId>
  98. <artifactId>powermock-module-junit4</artifactId>
  99. <version>1.4.10</version>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.powermock</groupId>
  104. <artifactId>powermock-api-mockito</artifactId>
  105. <version>1.4.10</version>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.mockito</groupId>
  110. <artifactId>mockito-core</artifactId>
  111. <version>1.8.5</version>
  112. <scope>test</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.oceanbase</groupId>
  116. <artifactId>obkv-hbase-client</artifactId>
  117. <version>0.1.4.2</version>
  118. <exclusions>
  119. <exclusion>
  120. <artifactId>guava</artifactId>
  121. <groupId>com.google.guava</groupId>
  122. </exclusion>
  123. </exclusions>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.hadoop</groupId>
  127. <artifactId>hadoop-core</artifactId>
  128. <version>1.0.3</version>
  129. </dependency>
  130. </dependencies>
  131. <build>
  132. <resources>
  133. <resource>
  134. <directory>src/main/java</directory>
  135. <includes>
  136. <include>**/*.properties</include>
  137. </includes>
  138. </resource>
  139. </resources>
  140. <plugins>
  141. <!-- compiler plugin -->
  142. <plugin>
  143. <artifactId>maven-compiler-plugin</artifactId>
  144. <configuration>
  145. <source>${jdk-version}</source>
  146. <target>${jdk-version}</target>
  147. <encoding>${project-sourceEncoding}</encoding>
  148. </configuration>
  149. </plugin>
  150. <!-- assembly plugin -->
  151. <plugin>
  152. <artifactId>maven-assembly-plugin</artifactId>
  153. <configuration>
  154. <descriptors>
  155. <descriptor>src/main/assembly/package.xml</descriptor>
  156. </descriptors>
  157. <finalName>datax</finalName>
  158. </configuration>
  159. <executions>
  160. <execution>
  161. <id>dwzip</id>
  162. <phase>package</phase>
  163. <goals>
  164. <goal>single</goal>
  165. </goals>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. </project>