mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-10-31 10:57:15 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			66 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			2.7 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</groupId>
 | ||
|         <artifactId>continew-starter</artifactId>
 | ||
|         <version>${revision}</version>
 | ||
|     </parent>
 | ||
| 
 | ||
|     <artifactId>continew-starter-web</artifactId>
 | ||
|     <description>ContiNew Starter Web 模块</description>
 | ||
| 
 | ||
|     <dependencies>
 | ||
|         <!-- 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>
 | ||
|             <!-- 移除 websocket 依赖,后续使用 websocket 可考虑由 Netty 提供。另可解决日志警告:UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used -->
 | ||
|             <exclusions>
 | ||
|                 <exclusion>
 | ||
|                     <groupId>io.undertow</groupId>
 | ||
|                     <artifactId>undertow-websockets-jsr</artifactId>
 | ||
|                 </exclusion>
 | ||
|             </exclusions>
 | ||
|         </dependency>
 | ||
| 
 | ||
|         <!-- Hibernate Validator -->
 | ||
|         <dependency>
 | ||
|             <groupId>org.springframework.boot</groupId>
 | ||
|             <artifactId>spring-boot-starter-validation</artifactId>
 | ||
|         </dependency>
 | ||
| 
 | ||
|         <!-- TLog(轻量级的分布式日志标记追踪神器) -->
 | ||
|         <dependency>
 | ||
|             <groupId>com.yomahub</groupId>
 | ||
|             <artifactId>tlog-web-spring-boot-starter</artifactId>
 | ||
|         </dependency>
 | ||
| 
 | ||
|         <!-- API 文档模块 -->
 | ||
|         <dependency>
 | ||
|             <groupId>top.continew</groupId>
 | ||
|             <artifactId>continew-starter-api-doc</artifactId>
 | ||
|         </dependency>
 | ||
| 
 | ||
|         <!-- JSON 模块 - Jackson -->
 | ||
|         <dependency>
 | ||
|             <groupId>top.continew</groupId>
 | ||
|             <artifactId>continew-starter-json-jackson</artifactId>
 | ||
|         </dependency>
 | ||
|     </dependencies>
 | ||
| </project> |