</dependency>
<!-- poi end -->
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.10</version>
<scope>provided</scope>
</dependency>
<!-- IPU 镜屏 -->
<dependency>
<groupId>com.ai.ipu.server</groupId>
<artifactId>iot-stomp-server</artifactId>
<version>${ipu}</version>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<!--<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
</plugins>
</build>-->
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${compiler-version}</source>
<target>${compiler-version}</target>
<encoding>${encoding}</encoding>
<!-- 通过此方法添加本地jar -->
<compilerArguments>
<!--suppress UnresolvedMavenProperty -->
<bootclasspath>${JAVA_HOME}/jre/lib/rt.jar</bootclasspath>
<extdirs>${project.basedir}/libs</extdirs>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- ==========应用包和依赖包分离的打包方法================ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>compile</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<encoding>${encoding}</encoding>
<resources>
<resource>
<directory>${project.build.directory}/classes</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.yaml</include>
<include>**/*.yml</include>
<include>**/*.txt</include>
</includes>
</resource>
</resources>
<!-- 表示把配置文件拷到和jar包同一个路径下 -->
<outputDirectory>
${project.build.directory}/config
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- 复制依赖包 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<!--生成的jar中,不要包含pom.xml和pom.properties这两个文件-->
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<!--是否要把第三方jar放到manifest的classpath中-->
<addClasspath>true</addClasspath>
<!--生成的manifest中classpath的前缀,lib存放第三方jar-->
<classpathPrefix>lib/</classpathPrefix>
<!--应用的main class-->
<mainClass>${start-class}</mainClass>
<!-- 去掉jar后的时间戳 -->
<useUniqueVersions>false</useUniqueVersions>
</manifest>
<!-- 自定义的MANIFEST.MF参数 -->
<manifestEntries>
<!-- 增加classpath目录config -->
<Class-Path>./config/</Class-Path>
</manifestEntries>
</archive>
<!--过滤掉不希望包含在jar中的文件-->
<excludes>
<exclude>**/*.properties</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.yaml</exclude>
<exclude>**/*.yml</exclude>
<exclude>**/*.txt</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<!-- The configuration of the plugin -->
<configuration>
<!-- Specifies the configuration file of the assembly plugin -->
<descriptors>
<descriptor>src/main/assembly-package.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<finalName>${project.artifactId}</finalName>
</build>
</project>
|
||
77 | 77 |
|
78 | 78 |
|
79 | 79 |
|
80 |
|
|
81 |
|
|
82 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
83 | 84 |
|
84 |
|
|
85 |
|
|
86 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
87 | 89 |
|
88 |
|
|
89 |
|
|
90 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
91 | 94 |
|
92 | 95 |
|
93 | 96 |
|
|
||
231 | 231 |
|
232 | 232 |
|
233 | 233 |
|
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
234 | 240 |
|
235 | 241 |
|
236 | 242 |
|
|
||
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 |
|
|
37 |
|
|
38 | 38 |
|
39 | 39 |
|
40 | 40 |
|
|
||
52 | 52 |
|
53 | 53 |
|
54 | 54 |
|
55 |
|
|
55 |
|
|
56 | 56 |
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
64 | 63 |
|
65 | 64 |
|
66 | 65 |
|
67 | 66 |
|
68 | 67 |
|
69 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
70 | 81 |
|
71 | 82 |
|
72 | 83 |
|
|
||
78 | 89 |
|
79 | 90 |
|
80 | 91 |
|
92 |
|
|
93 |
|
|
81 | 94 |
|
82 | 95 |
|
|
||
42 | 42 |
|
43 | 43 |
|
44 | 44 |
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
45 | 53 |
|
46 | 54 |
|
47 | 55 |
|
|
||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
21 | 22 |
|
22 | 23 |
|
23 | 24 |
|
|
||
189 | 190 |
|
190 | 191 |
|
191 | 192 |
|
192 |
|
|
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
|
|
204 |
|
|
205 |
|
|
206 |
|
|
207 |
|
|
208 |
|
|
209 |
|
|
210 |
|
|
211 |
|
|
212 |
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
|
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
|
245 |
|
|
246 |
|
|
247 |
|
|
248 |
|
|
249 |
|
|
250 |
|
|
251 |
|
|
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 | 193 |
|
270 | 194 |
|
271 | 195 |
|
|
||
300 | 224 |
|
301 | 225 |
|
302 | 226 |
|
303 |
|
|
227 |
|
|
228 |
|
|
304 | 229 |
|
305 | 230 |
|
306 | 231 |
|
307 | 232 |
|
308 | 233 |
|
309 | 234 |
|
310 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
|
|
242 |
|
|
243 |
|
|
311 | 244 |
|
312 |
|
|
313 | 245 |
|
314 | 246 |
|
315 | 247 |
|
316 | 248 |
|
317 | 249 |
|
318 |
|
|
250 |
|
|
319 | 251 |
|
320 | 252 |
|
321 |
|
|
253 |
|
|
322 | 254 |
|
323 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
324 | 272 |
|
325 | 273 |
|
326 | 274 |
|
327 | 275 |
|
328 | 276 |
|
277 |
|
|
329 | 278 |
|
330 |
|
|
331 | 279 |
|
332 | 280 |
|
333 | 281 |
|
|
||
365 | 313 |
|
366 | 314 |
|
367 | 315 |
|
368 |
|
|
369 | 316 |
|
370 | 317 |
|
371 | 318 |
|
372 | 319 |
|
373 | 320 |
|
374 | 321 |
|
375 |
|
|
376 |
|
|
322 |
|
|
377 | 323 |
|
378 | 324 |
|
379 | 325 |
|
|
||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
|
|
25 | 26 |
|
26 | 27 |
|
27 | 28 |
|
|
||
51 | 52 |
|
52 | 53 |
|
53 | 54 |
|
55 |
|
|
54 | 56 |
|
55 | 57 |
|
56 | 58 |
|
|
||
75 | 77 |
|
76 | 78 |
|
77 | 79 |
|
80 |
|
|
78 | 81 |
|
79 | 82 |
|
80 | 83 |
|
|
||
103 | 106 |
|
104 | 107 |
|
105 | 108 |
|
109 |
|
|
106 | 110 |
|
107 | 111 |
|
108 | 112 |
|
|
||
110 | 114 |
|
111 | 115 |
|
112 | 116 |
|
117 |
|
|
113 | 118 |
|
114 | 119 |
|
115 | 120 |
|
|
||
119 | 124 |
|
120 | 125 |
|
121 | 126 |
|
127 |
|
|
122 | 128 |
|
123 | 129 |
|
124 | 130 |
|
|
||
168 | 174 |
|
169 | 175 |
|
170 | 176 |
|
171 |
|
|
177 |
|
|
172 | 178 |
|
173 | 179 |
|
174 |
|
|
180 |
|
|
175 | 181 |
|
176 | 182 |
|
177 | 183 |
|
|
||
180 | 186 |
|
181 | 187 |
|
182 | 188 |
|
189 |
|
|
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
|
|
183 | 195 |
|
184 | 196 |
|
185 | 197 |
|
|
||
265 | 277 |
|
266 | 278 |
|
267 | 279 |
|
268 |
|
|
280 |
|
|
269 | 281 |
|
270 | 282 |
|
271 | 283 |
|
|
||
333 | 345 |
|
334 | 346 |
|
335 | 347 |
|
336 |
|
|
348 |
|
|
337 | 349 |
|
338 | 350 |
|
339 | 351 |
|
340 | 352 |
|
341 |
|
|
353 |
|
|
342 | 354 |
|
343 | 355 |
|
344 | 356 |
|
|
||
417 | 429 |
|
418 | 430 |
|
419 | 431 |
|
420 |
|
|
432 |
|
|
433 |
|
|
421 | 434 |
|
422 | 435 |
|
423 | 436 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
|
174 |
|
|
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
|
179 |
|
|
180 |
|
|
181 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
||
42 | 42 |
|
43 | 43 |
|
44 | 44 |
|
45 |
|
|
45 |
|
|
46 | 46 |
|
47 | 47 |
|
48 |
|
|
48 |
|
|
49 | 49 |
|
50 | 50 |
|
51 |
|
|
51 |
|
|
52 | 52 |
|
53 | 53 |
|
54 |
|
|
54 |
|
|
55 | 55 |
|
56 | 56 |
|
57 |
|
|
57 |
|
|
58 | 58 |
|
59 | 59 |
|
60 |
|
|
60 |
|
|
61 | 61 |
|
62 | 62 |
|
63 |
|
|
63 |
|
|
64 | 64 |
|
65 | 65 |
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
66 | 72 |
|
67 |
|
|
73 |
|
|
68 | 74 |
|
69 | 75 |
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
76 |
|
|
74 | 77 |
|
75 |
|
|
76 |
|
|
78 |
|
|
79 |
|
|
77 | 80 |
|
81 |
|
|
82 |
|
|
83 |
|
|
78 | 84 |
|
79 | 85 |
|
80 | 86 |
|
|
||
83 | 89 |
|
84 | 90 |
|
85 | 91 |
|
86 |
|
|
87 |
|
|
88 | 92 |
|
89 | 93 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 | 3 |
|
8 | 4 |
|
9 | 5 |
|
|
||
38 | 34 |
|
39 | 35 |
|
40 | 36 |
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 | 37 |
|