2022-12-26 10:49:00 +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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<version>4.0.1</version>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
|
</parent>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<url/>
|
|
|
|
|
|
<licenses>
|
|
|
|
|
|
<license/>
|
|
|
|
|
|
</licenses>
|
|
|
|
|
|
<developers>
|
|
|
|
|
|
<developer/>
|
|
|
|
|
|
</developers>
|
|
|
|
|
|
<scm>
|
|
|
|
|
|
<connection/>
|
|
|
|
|
|
<developerConnection/>
|
|
|
|
|
|
<tag/>
|
|
|
|
|
|
<url/>
|
|
|
|
|
|
</scm>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<groupId>com.bamanker</groupId>
|
2023-06-13 19:54:41 +08:00
|
|
|
|
<artifactId>dailylove</artifactId>
|
2026-01-16 09:29:03 +08:00
|
|
|
|
<version>v3.1.4-native</version>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<name>dailylove</name>
|
2023-11-23 11:10:07 +08:00
|
|
|
|
<description>dailylove-forK8S</description>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<properties>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<java.version>25</java.version>
|
|
|
|
|
|
<maven.compiler.source>25</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>25</maven.compiler.target>
|
2026-01-14 00:06:59 +08:00
|
|
|
|
<spring-boot.version>4.0.1</spring-boot.version>
|
|
|
|
|
|
<spring-cloud.version>2023.0.0</spring-cloud.version>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<hutool.version>5.8.25</hutool.version>
|
2023-11-23 11:47:21 +08:00
|
|
|
|
<docker.private.repository>registry.cn-chengdu.aliyuncs.com/bamanker</docker.private.repository>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
2022-12-27 16:47:19 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
|
</dependency>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
|
</dependency>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<optional>true</optional>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</dependency>
|
2026-01-05 22:36:44 +08:00
|
|
|
|
<!-- 如果需要显式指定 Jackson 3 -->
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<dependency>
|
2026-01-05 22:36:44 +08:00
|
|
|
|
<groupId>tools.jackson.core</groupId>
|
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2023-11-09 22:56:44 +08:00
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</dependency>
|
2026-01-14 00:06:59 +08:00
|
|
|
|
<!-- Spring Boot Configuration Processor -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
|
</dependency>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2023-11-09 22:56:44 +08:00
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
2023-11-09 22:56:44 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-01-08 13:59:30 +08:00
|
|
|
|
<!-- Spring Boot Actuator,提供健康检查端点 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-01-12 18:07:12 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.projectreactor</groupId>
|
|
|
|
|
|
<artifactId>reactor-test</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<finalName>dailylove</finalName>
|
|
|
|
|
|
<!--指定filtering=true.maven的占位符解析表达式就可以用于它里面的文件-->
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
</resources>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<plugins>
|
2023-11-09 22:56:44 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
|
|
|
|
<artifactId>native-maven-plugin</artifactId>
|
2023-11-11 17:23:01 +08:00
|
|
|
|
<!--为本机映像程序添加配置,生成的配置文件位于
|
|
|
|
|
|
META-INF/native-image/groupID/artifactID/native-image.properties
|
|
|
|
|
|
也可以手动配置-->
|
|
|
|
|
|
<configuration>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<mainClass>com.bamanker.dailylove.DailyLoveApplication</mainClass>
|
2023-11-11 17:23:01 +08:00
|
|
|
|
<buildArgs>
|
|
|
|
|
|
<!--开启dashboard-->
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<!-- <arg>-H:DashboardDump=dailylove -H:+DashboardAll</arg>-->
|
2026-01-08 13:32:04 +08:00
|
|
|
|
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
|
|
|
|
|
|
<!--生成诊断报告-->
|
|
|
|
|
|
<buildArg>-H:+PrintAnalysisCallTree</buildArg>
|
|
|
|
|
|
<!--开启监控代理-->
|
|
|
|
|
|
<buildArg>--enable-monitoring=jfr,heapdump,jvmstat</buildArg>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<!-- <arg>--pgo</arg>-->
|
2026-01-08 13:32:04 +08:00
|
|
|
|
<!---Ob: 快速构建模式,编译快但性能差点,适合开发调试-->
|
|
|
|
|
|
<buildArg>-Ob</buildArg>
|
|
|
|
|
|
<!-- <buildArg>--gc=G1</buildArg>-->
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<!-- <arg>-march=native</arg>-->
|
|
|
|
|
|
<!-- <arg>-H:+BuildReport</arg>-->
|
2023-11-11 17:23:01 +08:00
|
|
|
|
</buildArgs>
|
|
|
|
|
|
<!--启动详细输出-->
|
|
|
|
|
|
<verbose>true</verbose>
|
|
|
|
|
|
<!--配置jvm参数-->
|
|
|
|
|
|
<!-- <jvmArgs>
|
|
|
|
|
|
</jvmArgs>-->
|
2023-11-13 15:30:11 +08:00
|
|
|
|
<!--<agent>
|
2023-11-11 17:23:01 +08:00
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
<options>
|
|
|
|
|
|
<option>experimental-class-loader-support</option>
|
|
|
|
|
|
</options>
|
2023-11-13 15:30:11 +08:00
|
|
|
|
</agent>-->
|
2023-11-11 17:23:01 +08:00
|
|
|
|
</configuration>
|
2023-11-09 22:56:44 +08:00
|
|
|
|
</plugin>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
<plugin>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<!--支持yaml读取pom的参数-->
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
<delimiters>
|
|
|
|
|
|
<delimiter>@</delimiter>
|
|
|
|
|
|
</delimiters>
|
|
|
|
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
|
|
|
</configuration>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</plugin>
|
2023-06-13 19:45:17 +08:00
|
|
|
|
<plugin>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2023-06-13 19:45:17 +08:00
|
|
|
|
<configuration>
|
2026-01-05 17:51:38 +08:00
|
|
|
|
<release>25</release>
|
|
|
|
|
|
<annotationProcessors>
|
|
|
|
|
|
<annotationProcessor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor
|
|
|
|
|
|
</annotationProcessor>
|
|
|
|
|
|
</annotationProcessors>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<excludes>
|
|
|
|
|
|
<exclude>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
</exclude>
|
|
|
|
|
|
</excludes>
|
2023-06-13 19:45:17 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2022-12-26 10:49:00 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project>
|