核心升级: - Spring Boot 2.7.18 → 3.5.14 - MyBatis Plus 3.5.5 → 3.5.16 (spring-boot3-starter) - Springdoc 1.8.0 → 2.8.6 (OpenAPI 3) - Flowable 6.8.0 → 7.1.0 - Druid 1.2.x → 1.2.28 (boot3-starter) - kotlin-reflect 1.9.10 → 1.9.25 迁移适配: - javax → jakarta 命名空间 (620+ 文件) - Swagger 注解迁移到 OpenAPI 3 (@Tag/@Schema/@Operation/@Parameter) - Spring Security 6.2 适配 (antMatchers→requestMatchers, EnableMethodSecurity) - Druid 包名迁移 (boot→boot3) - Redis 配置路径迁移 (spring.redis→spring.data.redis) - Flyway 适配 (flyway-database-postgresql) - Flowable 7.x 适配 (MULE_TASK_IMAGE 移除) 修复: - spring-boot-maven-plugin 2.5.15→3.5.14 (SPI服务发现失效) - mybatis-plus-boot-starter 3.5.5→3.5.16 (kotlin-reflect+fastjson2冲突) - Flowable database-schema-update 启用自动建表 验证: 23/23 测试通过, 1374 API端点正常
110 lines
3.5 KiB
XML
Executable File
110 lines
3.5 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>com.openhis</groupId>
|
|
<artifactId>openhis-server</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.core</groupId>
|
|
<artifactId>core-flowable</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>com.core</groupId>
|
|
<artifactId>core-framework</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.core</groupId>
|
|
<artifactId>core-system</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.core</groupId>
|
|
<artifactId>core-common</artifactId>
|
|
</dependency>
|
|
|
|
<!--常用工具类 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
</dependency>
|
|
|
|
<!-- JSON工具类 -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 阿里JSON解析器 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.flowable</groupId>
|
|
<artifactId>flowable-spring-boot-starter</artifactId>
|
|
<!-- 排除flowable自带的权限认证 -->
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.flowable</groupId>
|
|
<artifactId>flowable-spring-security</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<!-- websocket -->
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
</dependency>
|
|
|
|
<!--el表达式计算-->
|
|
<dependency>
|
|
<groupId>com.googlecode.aviator</groupId>
|
|
<artifactId>aviator</artifactId>
|
|
<version>5.3.3</version>
|
|
</dependency>
|
|
|
|
<!-- swagger 注解 -->
|
|
<dependency>
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
<artifactId>swagger-annotations-jakarta</artifactId>
|
|
<version>2.2.30</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<!-- <build>-->
|
|
<!-- <plugins>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
<!-- </plugin>-->
|
|
<!-- </plugins>-->
|
|
<!-- </build>-->
|
|
|
|
</project>
|