pom.xml 5.0 KB

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