mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-10-21 20:57:15 +08:00

- 删除 ApiDocGlobalResponseHandler 类及其相关配置 - 移除对 continew-starter-api-doc 模块的依赖 - 替换为 swagger-annotations-jakarta 依赖 - 清理 GlobalResponseAutoConfiguration 中的条件加载逻辑 - 更新 pom.xml 中的注释说明
56 lines
2.3 KiB
XML
56 lines
2.3 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<parent>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter</artifactId>
|
||
<version>${revision}</version>
|
||
</parent>
|
||
|
||
<artifactId>continew-starter-web</artifactId>
|
||
<packaging>jar</packaging>
|
||
|
||
<name>${project.artifactId}</name>
|
||
<description>ContiNew Starter Web 模块</description>
|
||
|
||
<dependencies>
|
||
<!-- JSON 模块 - Jackson -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-json-jackson</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Swagger 注解 -->
|
||
<dependency>
|
||
<groupId>io.swagger.core.v3</groupId>
|
||
<artifactId>swagger-annotations-jakarta</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Spring Boot Web(提供 Spring MVC Web 开发能力,默认内置 Tomcat 服务器) -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
<!-- 移除内置 Tomcat 服务器 -->
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- Undertow 服务器(采用 Java 开发的灵活的高性能 Web 服务器,提供包括阻塞和基于 NIO 的非堵塞机制) -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-undertow</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Graceful Response(一个Spring Boot技术栈下的优雅响应处理组件,可以帮助开发者完成响应数据封装、异常处理、错误码填充等过程,提高开发效率,提高代码质量) -->
|
||
<dependency>
|
||
<groupId>com.feiniaojin</groupId>
|
||
<artifactId>graceful-response</artifactId>
|
||
</dependency>
|
||
</dependencies>
|
||
</project> |