pom.xml 4.7 KB

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