pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <artifactId>tsdb-benchmark</artifactId>
  7. <groupId>giannischen.nuaa.edu.cn</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>influxdb</artifactId>
  11. <packaging>jar</packaging>
  12. <name>influxdb</name>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. <kotlin.version>1.4.10</kotlin.version>
  17. <relativePath>../pom.xml</relativePath> <!-- 若无该相对路径,导入Maven项目时,可能该模块pom依赖无法加载 -->
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.influxdb</groupId>
  22. <artifactId>influxdb-client-java</artifactId>
  23. <version>6.1.0</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. <version>1.18.12</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>commons-cli</groupId>
  32. <artifactId>commons-cli</artifactId>
  33. <version>1.3.1</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.httpcomponents</groupId>
  37. <artifactId>httpclient</artifactId>
  38. <version>4.5.2</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.alibaba</groupId>
  42. <artifactId>fastjson</artifactId>
  43. <version>1.2.70</version>
  44. <scope>compile</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>ch.qos.logback</groupId>
  48. <artifactId>logback-classic</artifactId>
  49. <version>1.3.0-alpha13</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.commons</groupId>
  53. <artifactId>commons-lang3</artifactId>
  54. <version>3.11</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>junit</groupId>
  58. <artifactId>junit</artifactId>
  59. <version>4.13.1</version>
  60. <scope>test</scope>
  61. </dependency>
  62. <!-- <dependency>-->
  63. <!-- <groupId>org.jetbrains.kotlin</groupId>-->
  64. <!-- <artifactId>kotlin-stdlib</artifactId>-->
  65. <!-- <version>${kotlin.version}</version>-->
  66. <!-- </dependency>-->
  67. <!-- <dependency>-->
  68. <!-- <groupId>org.jetbrains.kotlin</groupId>-->
  69. <!-- <artifactId>kotlin-stdlib-common</artifactId>-->
  70. <!-- <version>${kotlin.version}</version>-->
  71. <!-- </dependency>-->
  72. <!-- <dependency>-->
  73. <!-- <groupId>org.jetbrains.kotlin</groupId>-->
  74. <!-- <artifactId>kotlin-stdlib-jdk8</artifactId>-->
  75. <!-- <version>${kotlin.version}</version>-->
  76. <!-- </dependency>-->
  77. <!-- <dependency>-->
  78. <!-- <groupId>org.jetbrains.kotlin</groupId>-->
  79. <!-- <artifactId>kotlin-stdlib-jdk7</artifactId>-->
  80. <!-- <version>${kotlin.version}</version>-->
  81. <!-- </dependency>-->
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-surefire-plugin</artifactId>
  88. <configuration>
  89. <skip>true</skip>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <artifactId>maven-assembly-plugin</artifactId>
  94. <version>3.4.2</version>
  95. <configuration>
  96. <archive>
  97. <manifest>
  98. <!--这里指定要运行的main类-->
  99. <mainClass>demo.allInsert.InsertHistoricalRandomData</mainClass>
  100. </manifest>
  101. </archive>
  102. <descriptorRefs>
  103. <descriptorRef>jar-with-dependencies</descriptorRef>
  104. </descriptorRefs>
  105. </configuration>
  106. <executions>
  107. <execution>
  108. <id>make-assembly</id>
  109. <phase>package</phase>
  110. <goals>
  111. <goal>single</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>