pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. <artifactId>tsdbwriter</artifactId>
  12. <name>tsdbwriter</name>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <!-- common -->
  17. <commons-lang3.version>3.3.2</commons-lang3.version>
  18. <!-- http -->
  19. <httpclient.version>4.5</httpclient.version>
  20. <commons-io.version>2.4</commons-io.version>
  21. <!-- test -->
  22. <junit4.version>4.13.1</junit4.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>com.alibaba.datax</groupId>
  27. <artifactId>datax-common</artifactId>
  28. <version>${datax-project-version}</version>
  29. <exclusions>
  30. <exclusion>
  31. <artifactId>slf4j-log4j12</artifactId>
  32. <groupId>org.slf4j</groupId>
  33. </exclusion>
  34. <exclusion>
  35. <artifactId>commons-math3</artifactId>
  36. <groupId>org.apache.commons</groupId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.slf4j</groupId>
  42. <artifactId>slf4j-api</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>ch.qos.logback</groupId>
  46. <artifactId>logback-classic</artifactId>
  47. </dependency>
  48. <!-- common -->
  49. <dependency>
  50. <groupId>org.apache.commons</groupId>
  51. <artifactId>commons-lang3</artifactId>
  52. <version>${commons-lang3.version}</version>
  53. </dependency>
  54. <!-- http -->
  55. <dependency>
  56. <groupId>org.apache.httpcomponents</groupId>
  57. <artifactId>httpclient</artifactId>
  58. <version>${httpclient.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-io</groupId>
  62. <artifactId>commons-io</artifactId>
  63. <version>${commons-io.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.httpcomponents</groupId>
  67. <artifactId>fluent-hc</artifactId>
  68. <version>${httpclient.version}</version>
  69. </dependency>
  70. <!-- json -->
  71. <dependency>
  72. <groupId>com.alibaba.fastjson2</groupId>
  73. <artifactId>fastjson2</artifactId>
  74. </dependency>
  75. <!-- tsdb -->
  76. <dependency>
  77. <groupId>com.aliyun</groupId>
  78. <artifactId>hitsdb-client</artifactId>
  79. <version>0.3.7</version>
  80. </dependency>
  81. <!-- test -->
  82. <dependency>
  83. <groupId>junit</groupId>
  84. <artifactId>junit</artifactId>
  85. <version>${junit4.version}</version>
  86. <scope>test</scope>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <plugins>
  91. <!-- compiler plugin -->
  92. <plugin>
  93. <artifactId>maven-compiler-plugin</artifactId>
  94. <configuration>
  95. <source>${jdk-version}</source>
  96. <target>${jdk-version}</target>
  97. <encoding>${project-sourceEncoding}</encoding>
  98. </configuration>
  99. </plugin>
  100. <!-- assembly plugin -->
  101. <plugin>
  102. <artifactId>maven-assembly-plugin</artifactId>
  103. <configuration>
  104. <descriptors>
  105. <descriptor>src/main/assembly/package.xml</descriptor>
  106. </descriptors>
  107. <finalName>datax</finalName>
  108. </configuration>
  109. <executions>
  110. <execution>
  111. <id>dwzip</id>
  112. <phase>package</phase>
  113. <goals>
  114. <goal>single</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>