89 lines
3.2 KiB
XML
89 lines
3.2 KiB
XML
<?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>
|
||
|
||
<groupId>com.idata</groupId>
|
||
<artifactId>y-server-tools</artifactId>
|
||
<version>1.0.0</version>
|
||
|
||
<properties>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.github.javafaker</groupId>
|
||
<artifactId>javafaker</artifactId>
|
||
<version>1.0.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.opencsv</groupId>
|
||
<artifactId>opencsv</artifactId>
|
||
<version>5.5.2</version>
|
||
</dependency>
|
||
|
||
<!-- Lombok -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.28</version> <!-- 请根据需要选择版本 -->
|
||
<scope>provided</scope> <!-- 设置为 provided,因为编译时需要,但运行时不需要 -->
|
||
</dependency>
|
||
|
||
<!-- SLF4J API -->
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<version>1.7.36</version> <!-- 请检查是否有更新的版本 -->
|
||
</dependency>
|
||
|
||
<!-- Logback Classic (作为 SLF4J 的实现) -->
|
||
<dependency>
|
||
<groupId>ch.qos.logback</groupId>
|
||
<artifactId>logback-classic</artifactId>
|
||
<version>1.2.11</version> <!-- 请检查是否有更新的版本 -->
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
|
||
<!-- 构建配置 -->
|
||
<build>
|
||
<!-- 插件管理 -->
|
||
<plugins>
|
||
<!-- maven-assembly-plugin 配置 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-assembly-plugin</artifactId>
|
||
<version>3.4.2</version> <!-- 使用最新版本 -->
|
||
<configuration>
|
||
<!-- 指定打包的描述符 -->
|
||
<descriptorRefs>
|
||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||
</descriptorRefs>
|
||
<!-- 指定主类(如果需要创建可执行 JAR) -->
|
||
<archive>
|
||
<manifest>
|
||
<mainClass>com.idata.tools.GeneratorTestData</mainClass> <!-- 替换为你的主类 -->
|
||
</manifest>
|
||
</archive>
|
||
</configuration>
|
||
<!-- 绑定到 package 生命周期阶段 -->
|
||
<executions>
|
||
<execution>
|
||
<id>make-assembly</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>single</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project> |