2021-01-02 13:13:08 +08:00
|
|
|
<?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">
|
2021-03-06 01:59:35 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-04-28 00:01:14 +08:00
|
|
|
<groupId>cn.iocoder.boot</groupId>
|
|
|
|
<artifactId>yudao</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
2021-04-29 00:52:41 +08:00
|
|
|
<module>yudao-dependencies</module>
|
2021-04-28 01:09:35 +08:00
|
|
|
<module>yudao-framework</module>
|
2022-02-02 22:33:39 +08:00
|
|
|
<!-- Server 主项目 -->
|
|
|
|
<module>yudao-server</module>
|
2022-10-02 13:05:19 +08:00
|
|
|
<!-- 各种 module 拓展 -->
|
2022-01-29 16:05:32 +08:00
|
|
|
<module>yudao-module-system</module>
|
2022-01-31 10:27:35 +08:00
|
|
|
<module>yudao-module-infra</module>
|
2024-01-19 09:10:26 +08:00
|
|
|
<!-- <module>yudao-module-member</module>-->
|
2024-02-17 21:01:59 +08:00
|
|
|
<!-- <module>yudao-module-bpm</module>-->
|
2023-12-07 07:37:32 +08:00
|
|
|
<!-- <module>yudao-module-report</module>-->
|
2023-08-27 21:15:44 +08:00
|
|
|
<!-- <module>yudao-module-mp</module>-->
|
2024-01-19 09:10:26 +08:00
|
|
|
<!-- <module>yudao-module-pay</module>-->
|
|
|
|
<!-- <module>yudao-module-mall</module>-->
|
2024-02-17 21:01:59 +08:00
|
|
|
<!-- <module>yudao-module-crm</module>-->
|
|
|
|
<!-- <module>yudao-module-erp</module>-->
|
2022-10-02 13:05:19 +08:00
|
|
|
<!-- 示例项目 -->
|
2023-10-22 08:55:27 +08:00
|
|
|
<!-- <module>yudao-example</module>-->
|
2021-04-28 00:01:14 +08:00
|
|
|
</modules>
|
2021-01-02 13:13:08 +08:00
|
|
|
|
2022-02-10 11:16:17 +08:00
|
|
|
<name>${project.artifactId}</name>
|
2021-04-28 00:01:14 +08:00
|
|
|
<description>芋道项目基础脚手架</description>
|
|
|
|
<url>https://github.com/YunaiV/ruoyi-vue-pro</url>
|
2021-01-02 13:13:08 +08:00
|
|
|
|
2021-04-28 01:09:35 +08:00
|
|
|
<properties>
|
2024-02-17 21:01:59 +08:00
|
|
|
<revision>2.0.1-snapshot</revision>
|
2021-04-30 00:35:04 +08:00
|
|
|
<!-- Maven 相关 -->
|
2023-12-07 20:48:11 +08:00
|
|
|
<java.version>21</java.version>
|
2021-04-30 00:35:04 +08:00
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
2023-12-07 20:48:11 +08:00
|
|
|
<maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
2023-09-06 20:41:52 +08:00
|
|
|
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
|
2022-01-29 10:06:00 +08:00
|
|
|
<!-- 看看咋放到 bom 里 -->
|
2023-09-24 17:38:18 +08:00
|
|
|
<lombok.version>1.18.30</lombok.version>
|
2024-01-26 20:37:38 +08:00
|
|
|
<spring.boot.version>3.2.2</spring.boot.version>
|
2023-05-06 16:28:53 +08:00
|
|
|
<mapstruct.version>1.5.5.Final</mapstruct.version>
|
2021-07-14 10:32:13 +08:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2021-04-28 01:09:35 +08:00
|
|
|
</properties>
|
2021-01-02 13:13:08 +08:00
|
|
|
|
2021-04-29 00:52:41 +08:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.iocoder.boot</groupId>
|
|
|
|
<artifactId>yudao-dependencies</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2021-04-30 14:15:31 +08:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
|
|
|
|
<!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
|
|
</plugin>
|
2023-01-12 21:01:49 +08:00
|
|
|
<!-- maven-compiler-plugin 插件,解决 spring-boot-configuration-processor + Lombok + MapStruct 组合 -->
|
2023-01-12 21:14:49 +08:00
|
|
|
<!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
|
2022-01-27 22:08:34 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
2023-01-12 21:01:49 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
2022-01-27 22:08:34 +08:00
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
|
<version>${mapstruct.version}</version>
|
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
2023-12-07 20:48:11 +08:00
|
|
|
<!-- 编译参数写在 arg 内,解决 Spring Boot 3.2 的 Parameter Name Discovery 问题 -->
|
|
|
|
<debug>false</debug>
|
|
|
|
<compilerArgs>
|
|
|
|
<arg>-parameters</arg>
|
|
|
|
</compilerArgs>
|
2022-01-27 22:08:34 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-09-06 20:41:52 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2021-04-30 14:15:31 +08:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2023-09-06 20:04:29 +08:00
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<!-- 统一 revision 版本 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
2023-09-06 20:41:52 +08:00
|
|
|
<version>${flatten-maven-plugin.version}</version>
|
2023-09-06 20:04:29 +08:00
|
|
|
<configuration>
|
|
|
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
|
|
<updatePomFile>true</updatePomFile>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>flatten</goal>
|
|
|
|
</goals>
|
|
|
|
<id>flatten</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
<id>flatten.clean</id>
|
|
|
|
<phase>clean</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2021-04-30 14:15:31 +08:00
|
|
|
</build>
|
|
|
|
|
2023-07-21 17:53:40 +08:00
|
|
|
<!-- 使用 huawei / aliyun 的 Maven 源,提升下载速度 -->
|
2021-04-30 09:44:36 +08:00
|
|
|
<repositories>
|
2023-07-21 17:53:40 +08:00
|
|
|
<repository>
|
|
|
|
<id>huaweicloud</id>
|
|
|
|
<name>huawei</name>
|
|
|
|
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
|
|
|
</repository>
|
2021-04-30 09:44:36 +08:00
|
|
|
<repository>
|
2021-12-16 09:08:05 +08:00
|
|
|
<id>aliyunmaven</id>
|
2021-04-30 09:44:36 +08:00
|
|
|
<name>aliyun</name>
|
2021-12-16 09:08:05 +08:00
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
2021-04-30 09:44:36 +08:00
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2021-01-02 13:13:08 +08:00
|
|
|
</project>
|