pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.alibaba.datax</groupId>
  6. <artifactId>datax-all</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>hbase11xsqlreader</artifactId>
  10. <name>hbase11xsqlreader</name>
  11. <version>0.0.1-SNAPSHOT</version>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <phoenix.version>4.12.0-AliHBase-1.1-0.5</phoenix.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.alibaba.datax</groupId>
  19. <artifactId>datax-common</artifactId>
  20. <version>${datax-project-version}</version>
  21. <exclusions>
  22. <exclusion>
  23. <artifactId>slf4j-log4j12</artifactId>
  24. <groupId>org.slf4j</groupId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.aliyun.phoenix</groupId>
  30. <artifactId>ali-phoenix-core</artifactId>
  31. <version>${phoenix.version}</version>
  32. <exclusions>
  33. <exclusion>
  34. <artifactId>servlet-api</artifactId>
  35. <groupId>javax.servlet</groupId>
  36. </exclusion>
  37. <exclusion>
  38. <artifactId>jdk.tools</artifactId>
  39. <groupId>jdk.tools</groupId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <dependency>
  44. <groupId>junit</groupId>
  45. <artifactId>junit</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.mockito</groupId>
  50. <artifactId>mockito-core</artifactId>
  51. <version>2.0.44-beta</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba.datax</groupId>
  56. <artifactId>datax-core</artifactId>
  57. <version>${datax-project-version}</version>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>com.alibaba.datax</groupId>
  61. <artifactId>datax-service-face</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. <scope>test</scope>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <resources>
  69. <resource>
  70. <directory>src/main/java</directory>
  71. <includes>
  72. <include>**/*.properties</include>
  73. </includes>
  74. </resource>
  75. </resources>
  76. <plugins>
  77. <!-- compiler plugin -->
  78. <plugin>
  79. <artifactId>maven-compiler-plugin</artifactId>
  80. <configuration>
  81. <source>${jdk-version}</source>
  82. <target>${jdk-version}</target>
  83. <encoding>${project-sourceEncoding}</encoding>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-assembly-plugin</artifactId>
  88. <configuration>
  89. <descriptors>
  90. <descriptor>src/main/assembly/package.xml</descriptor>
  91. </descriptors>
  92. <finalName>datax</finalName>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <id>dwzip</id>
  97. <phase>package</phase>
  98. <goals>
  99. <goal>single</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>