All checks were successful
Build Push and Deploy Image / build (push) Successful in 25m5s
184 lines
7.7 KiB
XML
184 lines
7.7 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 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>
|
||
<version>4.0.1</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<url/>
|
||
<licenses>
|
||
<license/>
|
||
</licenses>
|
||
<developers>
|
||
<developer/>
|
||
</developers>
|
||
<scm>
|
||
<connection/>
|
||
<developerConnection/>
|
||
<tag/>
|
||
<url/>
|
||
</scm>
|
||
<groupId>com.bamanker</groupId>
|
||
<artifactId>dailylove</artifactId>
|
||
<version>v3.1.4-native</version>
|
||
<name>dailylove</name>
|
||
<description>dailylove-forK8S</description>
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<java.version>25</java.version>
|
||
<maven.compiler.source>25</maven.compiler.source>
|
||
<maven.compiler.target>25</maven.compiler.target>
|
||
<spring-boot.version>4.0.1</spring-boot.version>
|
||
<spring-cloud.version>2023.0.0</spring-cloud.version>
|
||
<hutool.version>5.8.25</hutool.version>
|
||
<docker.private.repository>registry.cn-chengdu.aliyuncs.com/bamanker</docker.private.repository>
|
||
</properties>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-core</artifactId>
|
||
<version>${hutool.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-devtools</artifactId>
|
||
<scope>runtime</scope>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<!-- 如果需要显式指定 Jackson 3 -->
|
||
<dependency>
|
||
<groupId>tools.jackson.core</groupId>
|
||
<artifactId>jackson-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<!-- Spring Boot Configuration Processor -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-autoconfigure</artifactId>
|
||
</dependency>
|
||
<!-- Spring Boot Actuator,提供健康检查端点 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
</dependency>
|
||
<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>
|
||
</dependencies>
|
||
<build>
|
||
<finalName>dailylove</finalName>
|
||
<!--指定filtering=true.maven的占位符解析表达式就可以用于它里面的文件-->
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>true</filtering>
|
||
</resource>
|
||
</resources>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.graalvm.buildtools</groupId>
|
||
<artifactId>native-maven-plugin</artifactId>
|
||
<!--为本机映像程序添加配置,生成的配置文件位于
|
||
META-INF/native-image/groupID/artifactID/native-image.properties
|
||
也可以手动配置-->
|
||
<configuration>
|
||
<mainClass>com.bamanker.dailylove.DailyLoveApplication</mainClass>
|
||
<buildArgs>
|
||
<!--开启dashboard-->
|
||
<!-- <arg>-H:DashboardDump=dailylove -H:+DashboardAll</arg>-->
|
||
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
|
||
<!--生成诊断报告-->
|
||
<buildArg>-H:+PrintAnalysisCallTree</buildArg>
|
||
<!--开启监控代理-->
|
||
<buildArg>--enable-monitoring=jfr,heapdump,jvmstat</buildArg>
|
||
<!-- <arg>--pgo</arg>-->
|
||
<!---Ob: 快速构建模式,编译快但性能差点,适合开发调试-->
|
||
<buildArg>-Ob</buildArg>
|
||
<!-- <buildArg>--gc=G1</buildArg>-->
|
||
<!-- <arg>-march=native</arg>-->
|
||
<!-- <arg>-H:+BuildReport</arg>-->
|
||
</buildArgs>
|
||
<!--启动详细输出-->
|
||
<verbose>true</verbose>
|
||
<!--配置jvm参数-->
|
||
<!-- <jvmArgs>
|
||
</jvmArgs>-->
|
||
<!--<agent>
|
||
<enabled>true</enabled>
|
||
<options>
|
||
<option>experimental-class-loader-support</option>
|
||
</options>
|
||
</agent>-->
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<!--支持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>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<configuration>
|
||
<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>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project>
|