Pre Merge pull request !794 from liyong473/dev

This commit is contained in:
liyong473 2025-12-11 05:23:12 +00:00 committed by Gitee
commit ea4281e0d9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 25 additions and 0 deletions

View File

@ -56,6 +56,7 @@
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
<build-helper-maven-plugin.version>1.10</build-helper-maven-plugin.version>
<!-- 打包默认跳过测试 -->
<skipTests>true</skipTests>
</properties>

View File

@ -147,6 +147,25 @@
<warName>${project.artifactId}</warName>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>timestamp-property</id>
<goals>
<goal>timestamp-property</goal>
</goals>
<configuration>
<name>build.timestamp</name>
<pattern>yyyyMMdd HH:mm</pattern>
<locale>en_US</locale>
<timeZone>GMT+8</timeZone>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -218,6 +218,11 @@ xss:
excludeUrls:
- /system/notice
info:
name: @project.artifactId@
description: @project.description@
version: @project.parent.version@_@build.timestamp@
--- # 分布式锁 lock4j 全局配置
lock4j:
# 获取分布式锁超时时间,默认为 3000 毫秒