pom.xml 4.1 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>otswriter</artifactId>
  10. <name>otswriter</name>
  11. <dependencies>
  12. <dependency>
  13. <groupId>com.alibaba.datax</groupId>
  14. <artifactId>datax-common</artifactId>
  15. <version>${datax-project-version}</version>
  16. <exclusions>
  17. <exclusion>
  18. <artifactId>slf4j-log4j12</artifactId>
  19. <groupId>org.slf4j</groupId>
  20. </exclusion>
  21. </exclusions>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.slf4j</groupId>
  25. <artifactId>slf4j-api</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>ch.qos.logback</groupId>
  29. <artifactId>logback-classic</artifactId>
  30. </dependency>
  31. <!--Other 依赖 -->
  32. <dependency>
  33. <groupId>com.aliyun.openservices</groupId>
  34. <artifactId>ots-public</artifactId>
  35. <version>2.2.6</version>
  36. <exclusions>
  37. <exclusion>
  38. <artifactId>log4j-core</artifactId>
  39. <groupId>org.apache.logging.log4j</groupId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.aliyun.openservices</groupId>
  45. <artifactId>tablestore</artifactId>
  46. <version>5.13.10</version>
  47. <exclusions>
  48. <exclusion>
  49. <artifactId>log4j-core</artifactId>
  50. <groupId>org.apache.logging.log4j</groupId>
  51. </exclusion>
  52. </exclusions>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.google.code.gson</groupId>
  56. <artifactId>gson</artifactId>
  57. <version>2.2.4</version>
  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>${jdk-version}</source>
  75. <target>${jdk-version}</target>
  76. <encoding>${project-sourceEncoding}</encoding>
  77. </configuration>
  78. </plugin>
  79. <!-- assembly plugin -->
  80. <plugin>
  81. <artifactId>maven-assembly-plugin</artifactId>
  82. <configuration>
  83. <descriptors>
  84. <descriptor>src/main/assembly/package.xml</descriptor>
  85. </descriptors>
  86. <finalName>datax</finalName>
  87. </configuration>
  88. <executions>
  89. <execution>
  90. <id>dwzip</id>
  91. <phase>package</phase>
  92. <goals>
  93. <goal>single</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <!-- test runner -->
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-surefire-plugin</artifactId>
  102. <version>2.5</version>
  103. <configuration>
  104. <includes>
  105. <include>**/unittest/*.java</include>
  106. <include>**/functiontest/*.java</include>
  107. </includes>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>