netty与springboot的整合

时间:2024-10-13 19:59:27
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="/POM/4.0.0" xmlns:xsi="http:///2001/XMLSchema-instance" xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0."> <modelVersion>4.0.0</modelVersion> <groupId>liqiangz</groupId> <artifactId>netty-test</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <parent> <groupId></groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.</version> </parent> <dependencies> <dependency> <groupId></groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> <dependency> <groupId></groupId> <artifactId>netty-all</artifactId> <!-- Use 'netty-all' for 4.0 or above --> <version>4.1.</version> <scope>compile</scope> </dependency> <dependency> <groupId></groupId> <artifactId>spring-boot-autoconfigure</artifactId> </dependency> <dependency> <groupId></groupId> <artifactId>spring-boot-starter-logging</artifactId> </dependency> <dependency> <groupId></groupId> <artifactId>spring-boot-starter-log4j</artifactId> <version>1.3.</version> </dependency> </dependencies> <repositories> <repository> <id>aliyunmaven</id> <url>/nexus/content/groups/public/</url> </repository> </repositories> <build> <plugins> <plugin> <groupId></groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project>