|
|
@@ -1,209 +0,0 @@
|
|
|
-<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.example</groupId>
|
|
|
- <artifactId>mul-agent-virtual-simulation-system</artifactId>
|
|
|
- <version>${revision}</version>
|
|
|
- <packaging>pom</packaging>
|
|
|
- <name>${project.artifactId}</name>
|
|
|
- <description>多智体服务</description>
|
|
|
-
|
|
|
- <properties>
|
|
|
- <revision>1.0.1</revision>
|
|
|
- <java.version>17</java.version>
|
|
|
- <maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
- <maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
- <maven.test.skip>true</maven.test.skip>
|
|
|
- <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
|
|
- <!-- 依赖 -->
|
|
|
- <hutool.version>5.8.16</hutool.version>
|
|
|
- <spring-boot.version>3.1.5</spring-boot.version>
|
|
|
- <lombok.version>1.18.30</lombok.version>
|
|
|
- <mybatis-plus.version>3.5.3.2</mybatis-plus.version>
|
|
|
- <!-- 插件版本 -->
|
|
|
- <mapstruct-plus.version>1.3.5</mapstruct-plus.version>
|
|
|
- <mapstruct-plus.lombok.version>0.2.0</mapstruct-plus.lombok.version>
|
|
|
- <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
|
|
|
- <maven-war-plugin.version>3.2.2</maven-war-plugin.version>
|
|
|
- <therapi-javadoc.version>0.15.0</therapi-javadoc.version>
|
|
|
- <maven-compiler-plugin.verison>3.11.0</maven-compiler-plugin.verison>
|
|
|
- <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
|
|
|
- <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
|
|
|
- </properties>
|
|
|
-
|
|
|
- <modules>
|
|
|
- <module>server</module>
|
|
|
- </modules>
|
|
|
-
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>cn.hutool</groupId>
|
|
|
- <artifactId>hutool-core</artifactId>
|
|
|
- <version>${hutool.version}</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
-
|
|
|
- <!-- 依赖声明 -->
|
|
|
- <dependencyManagement>
|
|
|
- <dependencies>
|
|
|
- <!-- SpringBoot的依赖配置-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-dependencies</artifactId>
|
|
|
- <version>${spring-boot.version}</version>
|
|
|
- <type>pom</type>
|
|
|
- <scope>import</scope>
|
|
|
- </dependency>
|
|
|
- <!-- hutool 的依赖配置-->
|
|
|
- <dependency>
|
|
|
- <groupId>cn.hutool</groupId>
|
|
|
- <artifactId>hutool-bom</artifactId>
|
|
|
- <version>${hutool.version}</version>
|
|
|
- <type>pom</type>
|
|
|
- <scope>import</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>${lombok.version}</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- </dependencyManagement>
|
|
|
-
|
|
|
- <profiles>
|
|
|
- <!-- 本地开发环境 -->
|
|
|
- <profile>
|
|
|
- <id>local</id>
|
|
|
- <properties>
|
|
|
- <profiles.active>local</profiles.active>
|
|
|
- <logging.level>debug</logging.level>
|
|
|
- </properties>
|
|
|
- <activation>
|
|
|
- <activeByDefault>true</activeByDefault>
|
|
|
- </activation>
|
|
|
- </profile>
|
|
|
- <!-- 生产环境 -->
|
|
|
- <profile>
|
|
|
- <id>prod</id>
|
|
|
- <properties>
|
|
|
- <profiles.active>prod</profiles.active>
|
|
|
- <logging.level>info</logging.level>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- </profiles>
|
|
|
-
|
|
|
- <build>
|
|
|
- <finalName>${project.artifactId}</finalName>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources</directory>
|
|
|
- <filtering>false</filtering>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>${maven-compiler-plugin.verison}</version>
|
|
|
- <configuration>
|
|
|
- <source>${java.version}</source>
|
|
|
- <target>${java.version}</target>
|
|
|
- <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
- <annotationProcessorPaths>
|
|
|
- <path>
|
|
|
- <groupId>com.github.therapi</groupId>
|
|
|
- <artifactId>therapi-runtime-javadoc-scribe</artifactId>
|
|
|
- <version>${therapi-javadoc.version}</version>
|
|
|
- </path>
|
|
|
- <path>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>${lombok.version}</version>
|
|
|
- </path>
|
|
|
- <path>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
- <version>${spring-boot.version}</version>
|
|
|
- </path>
|
|
|
- <path>
|
|
|
- <groupId>io.github.linpeilie</groupId>
|
|
|
- <artifactId>mapstruct-plus-processor</artifactId>
|
|
|
- <version>${mapstruct-plus.version}</version>
|
|
|
- </path>
|
|
|
- <path>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok-mapstruct-binding</artifactId>
|
|
|
- <version>${mapstruct-plus.lombok.version}</version>
|
|
|
- </path>
|
|
|
- </annotationProcessorPaths>
|
|
|
- <compilerArgs>
|
|
|
- <arg>-parameters</arg>
|
|
|
- </compilerArgs>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <!-- 单元测试使用 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>${maven-surefire-plugin.version}</version>
|
|
|
- <configuration>
|
|
|
- <!-- 根据打包环境执行对应的@Tag测试方法 -->
|
|
|
- <groups>${profiles.active}</groups>
|
|
|
- <!-- 排除标签 -->
|
|
|
- <excludedGroups>exclude</excludedGroups>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <!-- 统一版本号管理 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.codehaus.mojo</groupId>
|
|
|
- <artifactId>flatten-maven-plugin</artifactId>
|
|
|
- <version>${flatten-maven-plugin.version}</version>
|
|
|
- <configuration>
|
|
|
- <updatePomFile>true</updatePomFile>
|
|
|
- <flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>flatten</id>
|
|
|
- <phase>process-resources</phase>
|
|
|
- <goals>
|
|
|
- <goal>flatten</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- <execution>
|
|
|
- <id>flatten.clean</id>
|
|
|
- <phase>clean</phase>
|
|
|
- <goals>
|
|
|
- <goal>clean</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- <repositories>
|
|
|
- <repository>
|
|
|
- <id>public</id>
|
|
|
- <name>aliyun nexus</name>
|
|
|
- <url>https://maven.aliyun.com/repository/public/</url>
|
|
|
- </repository>
|
|
|
- <repository>
|
|
|
- <id>spring-releases</id>
|
|
|
- <url>https://repo.spring.io/libs-release</url>
|
|
|
- </repository>
|
|
|
- </repositories>
|
|
|
- <pluginRepositories>
|
|
|
- <pluginRepository>
|
|
|
- <id>public</id>
|
|
|
- <name>aliyun nexus</name>
|
|
|
- <url>https://maven.aliyun.com/repository/public/</url>
|
|
|
- </pluginRepository>
|
|
|
- <pluginRepository>
|
|
|
- <id>spring-releases</id>
|
|
|
- <url>https://repo.spring.io/libs-release</url>
|
|
|
- </pluginRepository>
|
|
|
- </pluginRepositories>
|
|
|
-</project>
|