pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <relativePath>../pom.xml</relativePath> <!-- 若无该相对路径,导入Maven项目时,可能该模块pom依赖无法加载 -->
  10. </parent>
  11. <artifactId>mongodb</artifactId>
  12. <name>mongodb</name>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <!-- https://mvnrepository.com/artifact/org.mongodb/bson -->
  16. <dependency>
  17. <groupId>org.mongodb</groupId>
  18. <artifactId>bson</artifactId>
  19. <version>4.8.1</version>
  20. </dependency>
  21. <!-- https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-core -->
  22. <dependency>
  23. <groupId>org.mongodb</groupId>
  24. <artifactId>mongodb-driver-core</artifactId>
  25. <version>4.8.1</version>
  26. </dependency>
  27. <!-- https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-sync -->
  28. <dependency>
  29. <groupId>org.mongodb</groupId>
  30. <artifactId>mongodb-driver-sync</artifactId>
  31. <version>4.8.1</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <version>1.18.12</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>junit</groupId>
  40. <artifactId>junit</artifactId>
  41. <version>4.11</version>
  42. <scope>test</scope>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <plugins>
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-surefire-plugin</artifactId>
  50. <configuration>
  51. <skip>true</skip>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-assembly-plugin</artifactId>
  56. <version>3.4.2</version>
  57. <configuration>
  58. <archive>
  59. <manifest>
  60. <!--这里指定要运行的main类-->
  61. <mainClass>demo.allInsert.InsertHistoricalRandomData</mainClass>
  62. </manifest>
  63. </archive>
  64. <descriptorRefs>
  65. <descriptorRef>jar-with-dependencies</descriptorRef>
  66. </descriptorRefs>
  67. </configuration>
  68. <executions>
  69. <execution>
  70. <id>make-assembly</id>
  71. <phase>package</phase>
  72. <goals>
  73. <goal>single</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. </project>