pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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>hbase20xsqlwriter</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <phoenix.version>5.1.0-HBase-2.0.0.2</phoenix.version>
  16. <commons-codec.version>1.8</commons-codec.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.alibaba.datax</groupId>
  21. <artifactId>datax-common</artifactId>
  22. <version>${datax-project-version}</version>
  23. <exclusions>
  24. <exclusion>
  25. <artifactId>slf4j-log4j12</artifactId>
  26. <groupId>org.slf4j</groupId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.aliyun.phoenix</groupId>
  32. <artifactId>ali-phoenix-shaded-thin-client</artifactId>
  33. <version>${phoenix.version}</version>
  34. </dependency>
  35. <!-- for test -->
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.alibaba.datax</groupId>
  43. <artifactId>datax-core</artifactId>
  44. <version>${datax-project-version}</version>
  45. <exclusions>
  46. <exclusion>
  47. <groupId>com.alibaba.datax</groupId>
  48. <artifactId>datax-service-face</artifactId>
  49. </exclusion>
  50. </exclusions>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.mockito</groupId>
  55. <artifactId>mockito-all</artifactId>
  56. <version>1.9.5</version>
  57. <scope>test</scope>
  58. </dependency>
  59. </dependencies>
  60. <build>
  61. <resources>
  62. <resource>
  63. <directory>src/main/java</directory>
  64. <includes>
  65. <include>**/*.properties</include>
  66. </includes>
  67. </resource>
  68. </resources>
  69. <plugins>
  70. <!-- compiler plugin -->
  71. <plugin>
  72. <artifactId>maven-compiler-plugin</artifactId>
  73. <configuration>
  74. <source>1.6</source>
  75. <target>1.6</target>
  76. <encoding>${project-sourceEncoding}</encoding>
  77. </configuration>
  78. </plugin>
  79. <plugin>
  80. <artifactId>maven-assembly-plugin</artifactId>
  81. <configuration>
  82. <descriptors>
  83. <descriptor>src/main/assembly/package.xml</descriptor>
  84. </descriptors>
  85. <finalName>datax</finalName>
  86. </configuration>
  87. <executions>
  88. <execution>
  89. <id>dwzip</id>
  90. <phase>package</phase>
  91. <goals>
  92. <goal>single</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>