pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. </dependency>
  42. <dependency>
  43. <groupId>org.apache.hbase</groupId>
  44. <artifactId>hbase-common</artifactId>
  45. <version>${hbase.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.google.guava</groupId>
  49. <artifactId>guava</artifactId>
  50. <version>12.0.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>commons-codec</groupId>
  54. <artifactId>commons-codec</artifactId>
  55. <version>${commons-codec.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.alibaba.hbase</groupId>
  59. <artifactId>alihbase-connector</artifactId>
  60. <version>1.0.4</version>
  61. <exclusions>
  62. <exclusion>
  63. <groupId>org.apache.hbase</groupId>
  64. <artifactId>hbase-client</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. <dependency>
  69. <groupId>junit</groupId>
  70. <artifactId>junit</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.alibaba.datax</groupId>
  75. <artifactId>datax-core</artifactId>
  76. <version>${datax-project-version}</version>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.mockito</groupId>
  81. <artifactId>mockito-all</artifactId>
  82. <version>1.9.5</version>
  83. <scope>test</scope>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <!-- compiler plugin -->
  89. <plugin>
  90. <artifactId>maven-compiler-plugin</artifactId>
  91. <configuration>
  92. <source>1.6</source>
  93. <target>1.6</target>
  94. <encoding>${project-sourceEncoding}</encoding>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <artifactId>maven-assembly-plugin</artifactId>
  99. <configuration>
  100. <descriptors>
  101. <descriptor>src/main/assembly/package.xml</descriptor>
  102. </descriptors>
  103. <finalName>datax</finalName>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <id>dwzip</id>
  108. <phase>package</phase>
  109. <goals>
  110. <goal>single</goal>
  111. </goals>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>