12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>tsdb-benchmark</artifactId>
- <groupId>giannischen.nuaa.edu.cn</groupId>
- <version>0.0.1-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath> <!-- 若无该相对路径,导入Maven项目时,可能该模块pom依赖无法加载 -->
- </parent>
- <artifactId>mongodb</artifactId>
- <name>mongodb</name>
- <packaging>jar</packaging>
- <dependencies>
- <!-- https://mvnrepository.com/artifact/org.mongodb/bson -->
- <dependency>
- <groupId>org.mongodb</groupId>
- <artifactId>bson</artifactId>
- <version>4.8.1</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-core -->
- <dependency>
- <groupId>org.mongodb</groupId>
- <artifactId>mongodb-driver-core</artifactId>
- <version>4.8.1</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-sync -->
- <dependency>
- <groupId>org.mongodb</groupId>
- <artifactId>mongodb-driver-sync</artifactId>
- <version>4.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.18.12</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>3.4.2</version>
- <configuration>
- <archive>
- <manifest>
- <!--这里指定要运行的main类-->
- <mainClass>demo.allInsert.InsertHistoricalRandomData</mainClass>
- </manifest>
- </archive>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|