1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <groupId >com.xncoding</groupId >
8+ <artifactId >springboot-socketio</artifactId >
9+ <version >1.0.0-SNAPSHOT</version >
10+ <packaging >jar</packaging >
11+
12+ <name >springboot-socketio</name >
13+ <description >集成SocketIO实时通信</description >
14+
15+ <parent >
16+ <groupId >org.springframework.boot</groupId >
17+ <artifactId >spring-boot-starter-parent</artifactId >
18+ <version >1.5.9.RELEASE</version >
19+ <relativePath />
20+ </parent >
21+
22+ <properties >
23+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
24+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
25+ <java .version>1.8</java .version>
26+ <netty .version>4.1.19.Final</netty .version>
27+ </properties >
28+
29+ <dependencies >
30+ <dependency >
31+ <groupId >org.springframework.boot</groupId >
32+ <artifactId >spring-boot-starter</artifactId >
33+ </dependency >
34+ <!-- netty-socketio-->
35+ <dependency >
36+ <groupId >com.corundumstudio.socketio</groupId >
37+ <artifactId >netty-socketio</artifactId >
38+ <version >1.7.13</version >
39+ </dependency >
40+ <dependency >
41+ <groupId >io.netty</groupId >
42+ <artifactId >netty-buffer</artifactId >
43+ <version >${netty.version} </version >
44+ </dependency >
45+ <dependency >
46+ <groupId >io.netty</groupId >
47+ <artifactId >netty-codec</artifactId >
48+ <version >${netty.version} </version >
49+ </dependency >
50+ <dependency >
51+ <groupId >io.netty</groupId >
52+ <artifactId >netty-codec-http</artifactId >
53+ <version >${netty.version} </version >
54+ </dependency >
55+ <dependency >
56+ <groupId >io.netty</groupId >
57+ <artifactId >netty-common</artifactId >
58+ <version >${netty.version} </version >
59+ </dependency >
60+ <dependency >
61+ <groupId >io.netty</groupId >
62+ <artifactId >netty-handler</artifactId >
63+ <version >${netty.version} </version >
64+ </dependency >
65+ <dependency >
66+ <groupId >io.netty</groupId >
67+ <artifactId >netty-resolver</artifactId >
68+ <version >${netty.version} </version >
69+ </dependency >
70+ <dependency >
71+ <groupId >io.netty</groupId >
72+ <artifactId >netty-transport</artifactId >
73+ <version >${netty.version} </version >
74+ </dependency >
75+ <dependency >
76+ <groupId >io.netty</groupId >
77+ <artifactId >netty-transport-native-epoll</artifactId >
78+ <version >${netty.version} </version >
79+ </dependency >
80+ <dependency >
81+ <groupId >io.netty</groupId >
82+ <artifactId >netty-transport-native-unix-common</artifactId >
83+ <version >${netty.version} </version >
84+ </dependency >
85+ <dependency >
86+ <groupId >io.socket</groupId >
87+ <artifactId >socket.io-client</artifactId >
88+ <version >1.0.0</version >
89+ </dependency >
90+ </dependencies >
91+
92+ <build >
93+ <plugins >
94+ <plugin >
95+ <groupId >org.apache.maven.plugins</groupId >
96+ <artifactId >maven-compiler-plugin</artifactId >
97+ <version >3.6.1</version >
98+ <configuration >
99+ <!-- <proc>none</proc>-->
100+ <source >1.8</source >
101+ <target >1.8</target >
102+ </configuration >
103+ </plugin >
104+ <plugin >
105+ <groupId >org.apache.maven.plugins</groupId >
106+ <artifactId >maven-surefire-plugin</artifactId >
107+ <version >2.20</version >
108+ <configuration >
109+ <systemPropertyVariables >
110+ <swaggerOutputDir >${project.basedir} /src/main/resources/swagger</swaggerOutputDir >
111+ <asciiDocOutputDir >${project.basedir} /src/main/resources/swagger/swagger</asciiDocOutputDir >
112+ </systemPropertyVariables >
113+ <skip >true</skip >
114+ </configuration >
115+ </plugin >
116+ <plugin >
117+ <groupId >org.springframework.boot</groupId >
118+ <artifactId >spring-boot-maven-plugin</artifactId >
119+ <executions >
120+ </executions >
121+ </plugin >
122+ </plugins >
123+
124+ <resources >
125+ <resource >
126+ <directory >src/main/resources</directory >
127+ </resource >
128+ <resource >
129+ <directory >src/main/java</directory >
130+ <includes >
131+ <include >**/*.xml</include >
132+ </includes >
133+ </resource >
134+ </resources >
135+ </build >
136+
137+ </project >
0 commit comments