|
@@ -24,7 +24,7 @@
|
|
|
<parent>
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>3.4.7</version>
|
|
|
|
|
|
|
+ <version>3.5.6</version>
|
|
|
</parent>
|
|
</parent>
|
|
|
|
|
|
|
|
<name>${project.artifactId}</name>
|
|
<name>${project.artifactId}</name>
|
|
@@ -33,48 +33,50 @@
|
|
|
|
|
|
|
|
<groupId>cc.uncarbon.framework</groupId>
|
|
<groupId>cc.uncarbon.framework</groupId>
|
|
|
<artifactId>helio-starters</artifactId>
|
|
<artifactId>helio-starters</artifactId>
|
|
|
- <version>2.4.1</version><!-- BATCH REPLACEMENT MARK -->
|
|
|
|
|
|
|
+ <version>2.5.0</version><!-- BATCH REPLACEMENT MARK -->
|
|
|
|
|
|
|
|
<properties>
|
|
<properties>
|
|
|
<!-- core versions -->
|
|
<!-- core versions -->
|
|
|
- <helio-starters.version>2.4.1</helio-starters.version>
|
|
|
|
|
|
|
+ <helio-starters.version>2.5.0</helio-starters.version>
|
|
|
<!-- 可根据实际JDK版本修改;JDK17则改为'17' JDK21则改为'21' -->
|
|
<!-- 可根据实际JDK版本修改;JDK17则改为'17' JDK21则改为'21' -->
|
|
|
<java.version>17</java.version>
|
|
<java.version>17</java.version>
|
|
|
<!-- 若变更Spring Boot版本, 上面parent依赖版本也要变 -->
|
|
<!-- 若变更Spring Boot版本, 上面parent依赖版本也要变 -->
|
|
|
- <spring-boot.version>3.4.7</spring-boot.version>
|
|
|
|
|
|
|
+ <spring-boot.version>3.5.6</spring-boot.version>
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Spring Cloud versions -->
|
|
<!-- Spring Cloud versions -->
|
|
|
|
|
+ <!-- https://spring.io/projects/spring-cloud -->
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies -->
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies -->
|
|
|
- <spring-cloud.version>2023.0.4</spring-cloud.version>
|
|
|
|
|
- <spring-cloud-starter.version>4.2.0</spring-cloud-starter.version>
|
|
|
|
|
|
|
+ <spring-cloud.version>2025.0.0</spring-cloud.version>
|
|
|
|
|
+ <spring-cloud-starter.version>4.3.0</spring-cloud-starter.version>
|
|
|
<spring-cloud-commons.version>${spring-cloud-starter.version}</spring-cloud-commons.version>
|
|
<spring-cloud-commons.version>${spring-cloud-starter.version}</spring-cloud-commons.version>
|
|
|
<spring-cloud-context.version>${spring-cloud-starter.version}</spring-cloud-context.version>
|
|
<spring-cloud-context.version>${spring-cloud-starter.version}</spring-cloud-context.version>
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Spring Cloud Alibaba versions -->
|
|
<!-- Spring Cloud Alibaba versions -->
|
|
|
- <spring-cloud-alibaba.version>2023.0.3.2</spring-cloud-alibaba.version>
|
|
|
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-nacos-discovery -->
|
|
|
|
|
+ <spring-cloud-alibaba.version>2023.0.3.3</spring-cloud-alibaba.version>
|
|
|
<dubbo.version>3.3.2</dubbo.version>
|
|
<dubbo.version>3.3.2</dubbo.version>
|
|
|
<nacos-client.vesion>2.4.3</nacos-client.vesion>
|
|
<nacos-client.vesion>2.4.3</nacos-client.vesion>
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 3rd-party versions -->
|
|
<!-- 3rd-party versions -->
|
|
|
- <lombok.version>1.18.30</lombok.version>
|
|
|
|
|
|
|
+ <lombok.version>1.18.40</lombok.version>
|
|
|
<slf4j.version>2.0.12</slf4j.version>
|
|
<slf4j.version>2.0.12</slf4j.version>
|
|
|
<hutool.version>5.8.38</hutool.version>
|
|
<hutool.version>5.8.38</hutool.version>
|
|
|
<sa-token.version>1.44.0</sa-token.version>
|
|
<sa-token.version>1.44.0</sa-token.version>
|
|
|
<transmittable-thread-local.version>2.14.5</transmittable-thread-local.version>
|
|
<transmittable-thread-local.version>2.14.5</transmittable-thread-local.version>
|
|
|
- <!-- 如果 mp 较新版存在问题,可以回退至 3.5.5 试试 -->
|
|
|
|
|
- <mybatis-plus.version>3.5.7</mybatis-plus.version>
|
|
|
|
|
|
|
+ <!-- 如果 mp 较新版存在问题,可以回退至 3.5.7 试试 -->
|
|
|
|
|
+ <mybatis-plus.version>3.5.14</mybatis-plus.version>
|
|
|
<!-- 不要升级 knife4j,升级 SpringDoc 依赖版本即可 -->
|
|
<!-- 不要升级 knife4j,升级 SpringDoc 依赖版本即可 -->
|
|
|
<knife4j.version>4.4.0</knife4j.version>
|
|
<knife4j.version>4.4.0</knife4j.version>
|
|
|
- <!-- 以下两个 SpringDoc 依赖不完全配套,但能适配 Spring Boot 3.4.x -->
|
|
|
|
|
|
|
+ <!-- 以下两个 SpringDoc 依赖不完全配套,但能适配 Spring Boot 3.5.x -->
|
|
|
<!-- https://central.sonatype.com/artifact/org.springdoc/springdoc-openapi-starter-common/版本号/dependencies -->
|
|
<!-- https://central.sonatype.com/artifact/org.springdoc/springdoc-openapi-starter-common/版本号/dependencies -->
|
|
|
<springdoc-openapi-starter.version>2.7.0</springdoc-openapi-starter.version>
|
|
<springdoc-openapi-starter.version>2.7.0</springdoc-openapi-starter.version>
|
|
|
<springdoc-annotations.version>2.2.27</springdoc-annotations.version>
|
|
<springdoc-annotations.version>2.2.27</springdoc-annotations.version>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter -->
|
|
<!-- https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter -->
|
|
|
- <redisson.version>3.33.0</redisson.version>
|
|
|
|
|
|
|
+ <redisson.version>3.51.0</redisson.version>
|
|
|
<aspectj.version>1.9.22.1</aspectj.version>
|
|
<aspectj.version>1.9.22.1</aspectj.version>
|
|
|
<ons-client.version>1.8.8.1.Final</ons-client.version>
|
|
<ons-client.version>1.8.8.1.Final</ons-client.version>
|
|
|
<mybatis-plus-dynamic-datasource.version>4.3.1</mybatis-plus-dynamic-datasource.version>
|
|
<mybatis-plus-dynamic-datasource.version>4.3.1</mybatis-plus-dynamic-datasource.version>
|
|
@@ -91,18 +93,17 @@
|
|
|
<maven.version>3.6.3</maven.version>
|
|
<maven.version>3.6.3</maven.version>
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
- <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
|
|
|
|
- <buildTime>v.${project.version} build ${maven.build.timestamp.format}</buildTime>
|
|
|
|
|
- <main.user.dir>${basedir}/..</main.user.dir>
|
|
|
|
|
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
|
|
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- for mitigating vulnerabilities -->
|
|
<!-- for mitigating vulnerabilities -->
|
|
|
- <guava.version>33.2.1-jre</guava.version>
|
|
|
|
|
- <commons-compress.version>1.26.2</commons-compress.version>
|
|
|
|
|
- <xnio-api.version>3.8.16.Final</xnio-api.version>
|
|
|
|
|
- <commons-lang3.no-vulnerability-version>3.18.0</commons-lang3.no-vulnerability-version>
|
|
|
|
|
- <commons-io.no-vulnerability-version>2.19.0</commons-io.no-vulnerability-version>
|
|
|
|
|
|
|
+ <guava.safe-version>33.2.1-jre</guava.safe-version>
|
|
|
|
|
+ <commons-compress.safe-version>1.26.2</commons-compress.safe-version>
|
|
|
|
|
+ <xnio-api.safe-version>3.8.16.Final</xnio-api.safe-version>
|
|
|
|
|
+ <commons-lang3.safe-version>3.18.0</commons-lang3.safe-version>
|
|
|
|
|
+ <commons-io.safe-version>2.19.0</commons-io.safe-version>
|
|
|
|
|
+ <undertow-core.safe-version>2.3.19.Final</undertow-core.safe-version>
|
|
|
|
|
+ <netty-codec.safe-version>4.1.127.Final</netty-codec.safe-version>
|
|
|
</properties>
|
|
</properties>
|
|
|
|
|
|
|
|
<!-- 全局使用 -->
|
|
<!-- 全局使用 -->
|
|
@@ -127,31 +128,49 @@
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.google.guava</groupId>
|
|
<groupId>com.google.guava</groupId>
|
|
|
<artifactId>guava</artifactId>
|
|
<artifactId>guava</artifactId>
|
|
|
- <version>${guava.version}</version>
|
|
|
|
|
|
|
+ <version>${guava.safe-version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-compress</artifactId>
|
|
<artifactId>commons-compress</artifactId>
|
|
|
- <version>${commons-compress.version}</version>
|
|
|
|
|
|
|
+ <version>${commons-compress.safe-version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.jboss.xnio</groupId>
|
|
<groupId>org.jboss.xnio</groupId>
|
|
|
<artifactId>xnio-api</artifactId>
|
|
<artifactId>xnio-api</artifactId>
|
|
|
- <version>${xnio-api.version}</version>
|
|
|
|
|
|
|
+ <version>${xnio-api.safe-version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
- <version>${commons-lang3.no-vulnerability-version}</version>
|
|
|
|
|
|
|
+ <version>${commons-lang3.safe-version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
<artifactId>commons-io</artifactId>
|
|
|
- <version>${commons-io.no-vulnerability-version}</version>
|
|
|
|
|
|
|
+ <version>${commons-io.safe-version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>io.undertow</groupId>
|
|
|
|
|
+ <artifactId>undertow-core</artifactId>
|
|
|
|
|
+ <version>${undertow-core.safe-version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
|
|
+ <artifactId>netty-codec</artifactId>
|
|
|
|
|
+ <version>${netty-codec.safe-version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
|
|
+ <artifactId>netty-codec-http</artifactId>
|
|
|
|
|
+ <version>${netty-codec.safe-version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -358,6 +377,13 @@
|
|
|
<version>${mybatis-plus.version}</version>
|
|
<version>${mybatis-plus.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
+ <!-- mybatis-plus ^3.5.9 需要另外追加 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>mybatis-plus-jsqlparser</artifactId>
|
|
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-annotation</artifactId>
|
|
<artifactId>mybatis-plus-annotation</artifactId>
|
|
@@ -504,4 +530,88 @@
|
|
|
<connection>scm:git:https://github.com/uncarbon97/helio-starters.git</connection>
|
|
<connection>scm:git:https://github.com/uncarbon97/helio-starters.git</connection>
|
|
|
<developerConnection>scm:git:https://github.com/uncarbon97/helio-starters.git</developerConnection>
|
|
<developerConnection>scm:git:https://github.com/uncarbon97/helio-starters.git</developerConnection>
|
|
|
</scm>
|
|
</scm>
|
|
|
|
|
+
|
|
|
|
|
+ <profiles>
|
|
|
|
|
+ <profile>
|
|
|
|
|
+ <id>push-helio-starters-to-maven-central</id>
|
|
|
|
|
+ <activation>
|
|
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
|
|
+ </activation>
|
|
|
|
|
+ <build>
|
|
|
|
|
+ <plugins>
|
|
|
|
|
+ <!-- Maven 编译插件 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
+ <version>3.8.1</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <source>${java.version}</source>
|
|
|
|
|
+ <target>${java.version}</target>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 源码打包插件 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
+ <version>3.2.1</version>
|
|
|
|
|
+ <executions>
|
|
|
|
|
+ <execution>
|
|
|
|
|
+ <id>attach-sources</id>
|
|
|
|
|
+ <goals><goal>jar-no-fork</goal></goals>
|
|
|
|
|
+ </execution>
|
|
|
|
|
+ </executions>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- Javadoc 打包插件 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
+ <version>3.5.0</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <show>private</show>
|
|
|
|
|
+ <nohelp>true</nohelp>
|
|
|
|
|
+ <charset>UTF-8</charset>
|
|
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
|
|
+ <docencoding>UTF-8</docencoding>
|
|
|
|
|
+ <!-- 解决不规范的Javadoc生成报错 -->
|
|
|
|
|
+ <doclint>none</doclint>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ <executions>
|
|
|
|
|
+ <execution>
|
|
|
|
|
+ <id>attach-javadocs</id>
|
|
|
|
|
+ <goals><goal>jar</goal></goals>
|
|
|
|
|
+ </execution>
|
|
|
|
|
+ </executions>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- GPG 签名插件 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
|
+ <version>3.1.0</version>
|
|
|
|
|
+ <executions>
|
|
|
|
|
+ <execution>
|
|
|
|
|
+ <id>sign-artifacts</id>
|
|
|
|
|
+ <phase>verify</phase>
|
|
|
|
|
+ <goals><goal>sign</goal></goals>
|
|
|
|
|
+ </execution>
|
|
|
|
|
+ </executions>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 部署插件 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.sonatype.central</groupId>
|
|
|
|
|
+ <artifactId>central-publishing-maven-plugin</artifactId>
|
|
|
|
|
+ <version>0.8.0</version>
|
|
|
|
|
+ <extensions>true</extensions>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <publishingServerId>central</publishingServerId>
|
|
|
|
|
+ <autoPublish>true</autoPublish>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+ </build>
|
|
|
|
|
+ </profile>
|
|
|
|
|
+ </profiles>
|
|
|
</project>
|
|
</project>
|