pom.xml 4.4 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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.alibaba.datax</groupId>
  8. <artifactId>datax-all</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. </parent>
  11. <groupId>com.alibaba.datax</groupId>
  12. <artifactId>otsstreamreader</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <dependencies>
  15. <!--Other 依赖 -->
  16. <dependency>
  17. <groupId>com.aliyun.openservices</groupId>
  18. <artifactId>tablestore-streamclient</artifactId>
  19. <version>1.0.0</version>
  20. <exclusions>
  21. <exclusion>
  22. <groupId>com.aliyun.openservices</groupId>
  23. <artifactId>tablestore</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.alibaba.datax</groupId>
  29. <artifactId>datax-common</artifactId>
  30. <version>${datax-project-version}</version>
  31. <exclusions>
  32. <exclusion>
  33. <artifactId>slf4j-log4j12</artifactId>
  34. <groupId>org.slf4j</groupId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.slf4j</groupId>
  40. <artifactId>slf4j-api</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>ch.qos.logback</groupId>
  44. <artifactId>logback-classic</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>fastjson</artifactId>
  49. <version>1.2.83_noneautotype</version>
  50. <scope>compile</scope>
  51. </dependency>
  52. <!--Other 依赖 -->
  53. <dependency>
  54. <groupId>com.aliyun.openservices</groupId>
  55. <artifactId>tablestore</artifactId>
  56. <version>5.13.12</version>
  57. <exclusions>
  58. <exclusion>
  59. <artifactId>log4j-core</artifactId>
  60. <groupId>org.apache.logging.log4j</groupId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.google.code.gson</groupId>
  66. <artifactId>gson</artifactId>
  67. <version>2.2.4</version>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <resources>
  72. <resource>
  73. <directory>src/main/java</directory>
  74. <includes>
  75. <include>**/*.properties</include>
  76. </includes>
  77. </resource>
  78. </resources>
  79. <plugins>
  80. <!-- compiler plugin -->
  81. <plugin>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <configuration>
  84. <source>${jdk-version}</source>
  85. <target>${jdk-version}</target>
  86. <encoding>${project-sourceEncoding}</encoding>
  87. </configuration>
  88. </plugin>
  89. <!-- assembly plugin -->
  90. <plugin>
  91. <artifactId>maven-assembly-plugin</artifactId>
  92. <configuration>
  93. <descriptors>
  94. <descriptor>src/main/assembly/package.xml</descriptor>
  95. </descriptors>
  96. <finalName>datax</finalName>
  97. </configuration>
  98. <executions>
  99. <execution>
  100. <id>dwzip</id>
  101. <phase>package</phase>
  102. <goals>
  103. <goal>single</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <!-- test runner -->
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-surefire-plugin</artifactId>
  112. <version>2.5</version>
  113. <configuration>
  114. <includes>
  115. <include>**/unittest/*.java</include>
  116. <include>**/functiontest/*.java</include>
  117. </includes>
  118. </configuration>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. </project>