simple-starter/simple-starter-web/pom.xml

62 lines
2.5 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>reliable.simple.starter</groupId>
<artifactId>simple-starter</artifactId>
<version>${revision}</version>
</parent>
<artifactId>simple-starter-web</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>Web 模块</description>
<dependencies>
<!-- 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-core</artifactId>
</dependency>
<!-- JSON 模块 - Jackson -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-json-jackson</artifactId>
</dependency>
<!-- Swagger 注解 -->
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations-jakarta</artifactId>
</dependency>
<!-- Spring Boot WebMvc(提供 Spring MVC Web 开发能力,Spring Boot 4.0 起 starter-web 已废弃,统一使用 starter-webmvc) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webmvc</artifactId>
<!-- 移除内置 Tomcat 服务器,改用 Jetty -->
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Jetty 服务器(Spring Boot 4.x 移除了 Undertow 支持,因 Undertow 不兼容 Servlet 6.1 / Jakarta EE 11 基线,切换为 Jetty 12.1) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
<!-- Graceful Response(一个Spring Boot技术栈下的优雅响应处理组件,可以帮助开发者完成响应数据封装、异常处理、错误码填充等过程,提高开发效率,提高代码质量) -->
<dependency>
<groupId>com.feiniaojin</groupId>
<artifactId>graceful-response</artifactId>
</dependency>
</dependencies>
</project>