1
0

pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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>tsdbreader</artifactId>
  12. <name>tsdbreader</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. <!-- time -->
  24. <joda-time.version>2.9.9</joda-time.version>
  25. </properties>
  26. <dependencies>
  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. <exclusion>
  37. <artifactId>commons-math3</artifactId>
  38. <groupId>org.apache.commons</groupId>
  39. </exclusion>
  40. </exclusions>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.slf4j</groupId>
  44. <artifactId>slf4j-api</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>ch.qos.logback</groupId>
  48. <artifactId>logback-classic</artifactId>
  49. </dependency>
  50. <!-- common -->
  51. <dependency>
  52. <groupId>org.apache.commons</groupId>
  53. <artifactId>commons-lang3</artifactId>
  54. <version>${commons-lang3.version}</version>
  55. </dependency>
  56. <!-- http -->
  57. <dependency>
  58. <groupId>org.apache.httpcomponents</groupId>
  59. <artifactId>httpclient</artifactId>
  60. <version>${httpclient.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-io</groupId>
  64. <artifactId>commons-io</artifactId>
  65. <version>${commons-io.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>fluent-hc</artifactId>
  70. <version>${httpclient.version}</version>
  71. </dependency>
  72. <!-- json -->
  73. <dependency>
  74. <groupId>com.alibaba.fastjson2</groupId>
  75. <artifactId>fastjson2</artifactId>
  76. </dependency>
  77. <!-- time -->
  78. <dependency>
  79. <groupId>joda-time</groupId>
  80. <artifactId>joda-time</artifactId>
  81. <version>${joda-time.version}</version>
  82. </dependency>
  83. <!-- test -->
  84. <dependency>
  85. <groupId>junit</groupId>
  86. <artifactId>junit</artifactId>
  87. <version>${junit4.version}</version>
  88. <scope>test</scope>
  89. </dependency>
  90. </dependencies>
  91. <build>
  92. <plugins>
  93. <!-- compiler plugin -->
  94. <plugin>
  95. <artifactId>maven-compiler-plugin</artifactId>
  96. <configuration>
  97. <source>${jdk-version}</source>
  98. <target>${jdk-version}</target>
  99. <encoding>${project-sourceEncoding}</encoding>
  100. </configuration>
  101. </plugin>
  102. <!-- assembly plugin -->
  103. <plugin>
  104. <artifactId>maven-assembly-plugin</artifactId>
  105. <configuration>
  106. <descriptors>
  107. <descriptor>src/main/assembly/package.xml</descriptor>
  108. </descriptors>
  109. <finalName>datax</finalName>
  110. </configuration>
  111. <executions>
  112. <execution>
  113. <id>dwzip</id>
  114. <phase>package</phase>
  115. <goals>
  116. <goal>single</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>