pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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>hbase11xwriter</artifactId>
  12. <name>hbase11xwriter</name>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <hbase.version>1.1.3</hbase.version>
  17. <hadoop.version>2.5.0</hadoop.version>
  18. <commons-codec.version>1.8</commons-codec.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>com.alibaba.datax</groupId>
  23. <artifactId>datax-common</artifactId>
  24. <version>${datax-project-version}</version>
  25. <exclusions>
  26. <exclusion>
  27. <artifactId>slf4j-log4j12</artifactId>
  28. <groupId>org.slf4j</groupId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.hadoop</groupId>
  34. <artifactId>hadoop-hdfs</artifactId>
  35. <version>${hadoop.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.hbase</groupId>
  39. <artifactId>hbase-client</artifactId>
  40. <version>${hbase.version}</version>
  41. <exclusions>
  42. <exclusion>
  43. <artifactId>jdk.tools</artifactId>
  44. <groupId>jdk.tools</groupId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.hbase</groupId>
  50. <artifactId>hbase-common</artifactId>
  51. <version>${hbase.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.google.guava</groupId>
  55. <artifactId>guava</artifactId>
  56. <version>12.0.1</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>commons-codec</groupId>
  60. <artifactId>commons-codec</artifactId>
  61. <version>${commons-codec.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.alibaba.hbase</groupId>
  65. <artifactId>alihbase-connector</artifactId>
  66. <version>1.0.4</version>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>org.apache.hbase</groupId>
  70. <artifactId>hbase-client</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.alibaba.datax</groupId>
  81. <artifactId>datax-core</artifactId>
  82. <version>${datax-project-version}</version>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mockito</groupId>
  87. <artifactId>mockito-all</artifactId>
  88. <version>1.9.5</version>
  89. <scope>test</scope>
  90. </dependency>
  91. </dependencies>
  92. <build>
  93. <plugins>
  94. <!-- compiler plugin -->
  95. <plugin>
  96. <artifactId>maven-compiler-plugin</artifactId>
  97. <configuration>
  98. <source>${jdk-version}</source>
  99. <target>${jdk-version}</target>
  100. <encoding>${project-sourceEncoding}</encoding>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <artifactId>maven-assembly-plugin</artifactId>
  105. <configuration>
  106. <descriptors>
  107. <descriptor>src/main/assembly/package.xml</descriptor>
  108. </descriptors>
  109. <finalName>datax</finalName>
  110. </configuration>
  111. <executions>
  112. <execution>
  113. <id>dwzip</id>
  114. <phase>package</phase>
  115. <goals>
  116. <goal>single</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>