ludu-cloud/pom.xml

148 lines
6.2 KiB
XML
Raw Normal View History

2019-02-21 20:12:29 +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">
<modelVersion>4.0.0</modelVersion>
2022-05-06 01:31:24 +08:00
<groupId>cn.iocoder.cloud</groupId>
<artifactId>yudao</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
2019-02-21 20:12:29 +08:00
<modules>
2022-05-06 01:31:24 +08:00
<module>yudao-dependencies</module>
<module>yudao-gateway</module>
<module>yudao-framework</module>
2022-05-06 01:31:24 +08:00
<!-- 各种 module 拓展 -->
<module>yudao-module-system</module>
<module>yudao-module-infra</module>
2023-10-22 09:03:14 +08:00
<module>yudao-module-member</module>
<module>yudao-module-bpm</module>
2023-07-27 19:55:34 +08:00
<module>yudao-module-pay</module>
<module>yudao-module-report</module>
2023-07-27 19:55:34 +08:00
<module>yudao-module-mp</module>
2023-10-22 17:01:10 +08:00
<module>yudao-module-mall</module>
2024-02-17 23:25:41 +08:00
<module>yudao-module-crm</module>
2024-02-17 22:56:28 +08:00
<module>yudao-module-erp</module>
2019-02-21 20:12:29 +08:00
</modules>
2022-05-06 01:31:24 +08:00
<name>${project.artifactId}</name>
<description>芋道项目基础脚手架</description>
<url>https://github.com/YunaiV/ruoyi-vue-pro</url>
<properties>
2024-02-17 22:56:28 +08:00
<revision>2.0.1-snapshot</revision>
2022-05-06 01:31:24 +08:00
<!-- Maven 相关 -->
<java.version>21</java.version>
2022-05-06 01:31:24 +08:00
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
2022-05-06 01:31:24 +08:00
<!-- 看看咋放到 bom 里 -->
<lombok.version>1.18.30</lombok.version>
<spring.boot.version>3.2.0</spring.boot.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
2022-05-06 01:31:24 +08:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
2022-05-06 01:31:24 +08:00
<dependencyManagement>
<dependencies>
<dependency>
<groupId>cn.iocoder.cloud</groupId>
<artifactId>yudao-dependencies</artifactId>
<version>${revision}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
2022-05-06 01:31:24 +08:00
<!-- 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>
<!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 -->
2023-01-13 09:27:19 +08:00
<!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<annotationProcessorPaths>
<path>
2023-01-13 09:27:19 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring.boot.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
2022-05-06 01:31:24 +08:00
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
</annotationProcessorPaths>
<!-- 编译参数写在 arg 内,解决 Spring Boot 3.2 的 Parameter Name Discovery 问题 -->
<debug>false</debug>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- 统一 revision 版本 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<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>
</build>
2023-07-25 19:51:44 +08:00
<!-- 使用 huawei / aliyun 的 Maven 源,提升下载速度 -->
2022-05-06 01:31:24 +08:00
<repositories>
2023-07-25 19:51:44 +08:00
<repository>
<id>huaweicloud</id>
<name>huawei</name>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
</repository>
2022-05-06 01:31:24 +08:00
<repository>
<id>aliyunmaven</id>
<name>aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
</repository>
</repositories>
2019-04-06 20:10:13 +08:00
</project>