pom.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <dependency>
  16. <groupId>com.alibaba.datax</groupId>
  17. <artifactId>datax-common</artifactId>
  18. <version>${datax-project-version}</version>
  19. <exclusions>
  20. <exclusion>
  21. <artifactId>slf4j-log4j12</artifactId>
  22. <groupId>org.slf4j</groupId>
  23. </exclusion>
  24. <exclusion>
  25. <artifactId>logback-classic</artifactId>
  26. <groupId>ch.qos.logback</groupId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <!--Other 依赖 -->
  31. <dependency>
  32. <groupId>com.aliyun.openservices</groupId>
  33. <artifactId>tablestore-streamclient</artifactId>
  34. <version>1.0.0-SNAPSHOT</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.google.code.gson</groupId>
  38. <artifactId>gson</artifactId>
  39. <version>2.2.4</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.google.guava</groupId>
  43. <artifactId>guava</artifactId>
  44. <version>18.0</version>
  45. <scope>test</scope>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <resources>
  50. <resource>
  51. <directory>src/main/java</directory>
  52. <includes>
  53. <include>**/*.properties</include>
  54. </includes>
  55. </resource>
  56. </resources>
  57. <plugins>
  58. <!-- compiler plugin -->
  59. <plugin>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <configuration>
  62. <source>1.6</source>
  63. <target>1.6</target>
  64. <encoding>${project-sourceEncoding}</encoding>
  65. </configuration>
  66. </plugin>
  67. <!-- assembly plugin -->
  68. <plugin>
  69. <artifactId>maven-assembly-plugin</artifactId>
  70. <configuration>
  71. <descriptors>
  72. <descriptor>src/main/assembly/package.xml</descriptor>
  73. </descriptors>
  74. <finalName>datax</finalName>
  75. </configuration>
  76. <executions>
  77. <execution>
  78. <id>dwzip</id>
  79. <phase>package</phase>
  80. <goals>
  81. <goal>single</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>