pom.xml 3.7 KB

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