|
22 | 22 | </developers>
|
23 | 23 |
|
24 | 24 | <properties>
|
25 |
| - <netty.version>4.1.50.Final</netty.version> |
| 25 | + <netty-websocket.version>0.9.5</netty-websocket.version> |
26 | 26 | <spring-boot.version>2.0.0.RELEASE</spring-boot.version>
|
| 27 | + <lombok.version>1.18.2</lombok.version> |
| 28 | + <slf4j.version>1.7.12</slf4j.version> |
27 | 29 | </properties>
|
28 | 30 |
|
29 | 31 | <dependencies>
|
|
34 | 36 | <optional>true</optional>
|
35 | 37 | </dependency>
|
36 | 38 |
|
| 39 | + <!-- springcloud公共组件依赖开始 --> |
37 | 40 | <dependency>
|
38 |
| - <groupId>io.netty</groupId> |
39 |
| - <artifactId>netty-codec-http</artifactId> |
40 |
| - <version>${netty.version}</version> |
| 41 | + <groupId>org.springframework.boot</groupId> |
| 42 | + <artifactId>spring-boot-starter-web</artifactId> |
| 43 | + <exclusions> |
| 44 | + <exclusion> |
| 45 | + <groupId>org.springframework.boot</groupId> |
| 46 | + <artifactId>spring-boot-starter-tomcat</artifactId> |
| 47 | + </exclusion> |
| 48 | + </exclusions> |
| 49 | + <version>${spring-boot.version}</version> |
| 50 | + </dependency> |
| 51 | + |
| 52 | + <dependency> |
| 53 | + <groupId>org.yeauty</groupId> |
| 54 | + <artifactId>netty-websocket-spring-boot-starter</artifactId> |
| 55 | + <version>${netty-websocket.version}</version> |
41 | 56 | </dependency>
|
| 57 | + |
42 | 58 | <dependency>
|
43 |
| - <groupId>io.netty</groupId> |
44 |
| - <artifactId>netty-handler</artifactId> |
45 |
| - <version>${netty.version}</version> |
| 59 | + <groupId>org.springframework.boot</groupId> |
| 60 | + <artifactId>spring-boot-dependencies</artifactId> |
| 61 | + <version>${spring-boot.version}</version> |
| 62 | + <type>pom</type> |
| 63 | + <scope>import</scope> |
| 64 | + <exclusions> |
| 65 | + <exclusion> |
| 66 | + <groupId>org.springframework.boot</groupId> |
| 67 | + <artifactId>spring-boot-starter-tomcat</artifactId> |
| 68 | + </exclusion> |
| 69 | + </exclusions> |
46 | 70 | </dependency>
|
| 71 | + |
| 72 | + <dependency> |
| 73 | + <groupId>org.projectlombok</groupId> |
| 74 | + <artifactId>lombok</artifactId> |
| 75 | + <version>${lombok.version}</version> |
| 76 | + </dependency> |
| 77 | + |
| 78 | + <dependency> |
| 79 | + <groupId>org.slf4j</groupId> |
| 80 | + <artifactId>slf4j-api</artifactId> |
| 81 | + <version>${slf4j.version}</version> |
| 82 | + </dependency> |
| 83 | + |
47 | 84 | </dependencies>
|
48 | 85 |
|
49 | 86 |
|
|
0 commit comments