pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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>datax-all</artifactId>
  7. <groupId>com.alibaba.datax</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>hbase11xsqlwriter</artifactId>
  12. <name>hbase11xsqlwriter</name>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <phoenix.version>4.11.0-HBase-1.1</phoenix.version>
  17. <hadoop.version>2.7.1</hadoop.version>
  18. <commons-codec.version>1.8</commons-codec.version>
  19. <protobuf.version>3.2.0</protobuf.version>
  20. <httpclient.version>4.4.1</httpclient.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>com.alibaba.datax</groupId>
  25. <artifactId>datax-common</artifactId>
  26. <version>${datax-project-version}</version>
  27. <exclusions>
  28. <exclusion>
  29. <artifactId>slf4j-log4j12</artifactId>
  30. <groupId>org.slf4j</groupId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.apache.hadoop</groupId>
  36. <artifactId>hadoop-hdfs</artifactId>
  37. <version>${hadoop.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.hadoop</groupId>
  41. <artifactId>hadoop-common</artifactId>
  42. <version>${hadoop.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.phoenix</groupId>
  46. <artifactId>phoenix-core</artifactId>
  47. <version>${phoenix.version}</version>
  48. <exclusions>
  49. <exclusion>
  50. <artifactId>jdk.tools</artifactId>
  51. <groupId>jdk.tools</groupId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.phoenix</groupId>
  57. <artifactId>phoenix-queryserver-client</artifactId>
  58. <version>${phoenix.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.google.guava</groupId>
  62. <artifactId>guava</artifactId>
  63. <version>12.0.1</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>commons-codec</groupId>
  67. <artifactId>commons-codec</artifactId>
  68. <version>${commons-codec.version}</version>
  69. </dependency>
  70. <!-- httpclient begin -->
  71. <dependency>
  72. <groupId>org.apache.httpcomponents</groupId>
  73. <artifactId>httpclient</artifactId>
  74. <version>${httpclient.version}</version>
  75. </dependency>
  76. <!-- httpclient end -->
  77. <dependency>
  78. <groupId>com.google.protobuf</groupId>
  79. <artifactId>protobuf-java</artifactId>
  80. <version>${protobuf.version}</version>
  81. </dependency>
  82. <!-- for test -->
  83. <dependency>
  84. <groupId>junit</groupId>
  85. <artifactId>junit</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba.datax</groupId>
  90. <artifactId>datax-core</artifactId>
  91. <version>${datax-project-version}</version>
  92. <exclusions>
  93. <exclusion>
  94. <groupId>com.alibaba.datax</groupId>
  95. <artifactId>datax-service-face</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.mockito</groupId>
  102. <artifactId>mockito-all</artifactId>
  103. <version>1.9.5</version>
  104. <scope>test</scope>
  105. </dependency>
  106. </dependencies>
  107. <build>
  108. <resources>
  109. <resource>
  110. <directory>src/main/java</directory>
  111. <includes>
  112. <include>**/*.properties</include>
  113. </includes>
  114. </resource>
  115. </resources>
  116. <plugins>
  117. <!-- compiler plugin -->
  118. <plugin>
  119. <artifactId>maven-compiler-plugin</artifactId>
  120. <configuration>
  121. <source>${jdk-version}</source>
  122. <target>${jdk-version}</target>
  123. <encoding>${project-sourceEncoding}</encoding>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <artifactId>maven-assembly-plugin</artifactId>
  128. <configuration>
  129. <descriptors>
  130. <descriptor>src/main/assembly/package.xml</descriptor>
  131. </descriptors>
  132. <finalName>datax</finalName>
  133. </configuration>
  134. <executions>
  135. <execution>
  136. <id>dwzip</id>
  137. <phase>package</phase>
  138. <goals>
  139. <goal>single</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>