|
@ -0,0 +1,627 @@
|
|
1
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
2
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
3
|
<modelVersion>4.0.0</modelVersion>
|
|
4
|
|
|
5
|
<parent>
|
|
6
|
<groupId>org.springframework.boot</groupId>
|
|
7
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
8
|
<!-- <version>1.2.1.RELEASE</version> -->
|
|
9
|
<version>1.4.0.RELEASE</version>
|
|
10
|
</parent>
|
|
11
|
|
|
12
|
<!-- 定义公共变量 -->
|
|
13
|
<properties>
|
|
14
|
<encoding>UTF-8</encoding>
|
|
15
|
<java.version>1.7</java.version>
|
|
16
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
17
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
18
|
<!-- Central jar -->
|
|
19
|
<junit>3.8.1</junit>
|
|
20
|
<servlet-api>3.0-alpha-1</servlet-api>
|
|
21
|
<log4j>1.2.8</log4j>
|
|
22
|
<unirest-java>1.3.8</unirest-java>
|
|
23
|
<dom4j>1.6.1</dom4j>
|
|
24
|
<jaxen>1.1.1</jaxen>
|
|
25
|
<commons-lang3>3.4</commons-lang3>
|
|
26
|
<beetl-core>2.2.3</beetl-core>
|
|
27
|
<velocity>1.7</velocity>
|
|
28
|
<jsoup>1.7.2</jsoup>
|
|
29
|
<commons-fileupload>1.3.1</commons-fileupload>
|
|
30
|
<commons-dbcp>1.4</commons-dbcp>
|
|
31
|
<mysql-connector-java>5.1.39</mysql-connector-java>
|
|
32
|
<commons-codec>1.3</commons-codec>
|
|
33
|
<jdom>1.1.3</jdom>
|
|
34
|
<commons-collections>3.2</commons-collections>
|
|
35
|
<quartz-all>1.6.3</quartz-all>
|
|
36
|
<jta>1.1</jta>
|
|
37
|
|
|
38
|
<!-- 3rd party jar -->
|
|
39
|
<ojdbc>14</ojdbc>
|
|
40
|
<java_memcache-release>2.5.3</java_memcache-release>
|
|
41
|
<amail>1.0</amail>
|
|
42
|
<zxing>1.0</zxing>
|
|
43
|
<!-- ipu jar -->
|
|
44
|
<ipu>3.0</ipu>
|
|
45
|
<wade>1.0</wade>
|
|
46
|
|
|
47
|
<!-- 公共插件 -->
|
|
48
|
<maven-clean-plugin>3.0.0</maven-clean-plugin>
|
|
49
|
<maven-resources-plugin>3.0.1</maven-resources-plugin>
|
|
50
|
<maven-compiler-plugin>3.1</maven-compiler-plugin>
|
|
51
|
<compiler-version>1.6</compiler-version>
|
|
52
|
<maven-surefire-plugin>2.5</maven-surefire-plugin>
|
|
53
|
<maven-war-plugin>2.6</maven-war-plugin>
|
|
54
|
<exec-maven-plugin>1.5.0</exec-maven-plugin>
|
|
55
|
<maven-dependency-plugin>2.4</maven-dependency-plugin>
|
|
56
|
|
|
57
|
<!-- 本地jar路径all -->
|
|
58
|
<jar-path-all>${project.basedir}/all</jar-path-all>
|
|
59
|
|
|
60
|
</properties>
|
|
61
|
|
|
62
|
<dependencyManagement>
|
|
63
|
<dependencies>
|
|
64
|
<!-- Central jar -->
|
|
65
|
<dependency>
|
|
66
|
<groupId>commons-collections</groupId>
|
|
67
|
<artifactId>commons-collections</artifactId>
|
|
68
|
<version>${commons-collections}</version>
|
|
69
|
</dependency>
|
|
70
|
<dependency>
|
|
71
|
<groupId>javax.transaction</groupId>
|
|
72
|
<artifactId>jta</artifactId>
|
|
73
|
<version>${jta}</version>
|
|
74
|
</dependency>
|
|
75
|
<dependency>
|
|
76
|
<groupId>opensymphony</groupId>
|
|
77
|
<artifactId>quartz-all</artifactId>
|
|
78
|
<version>${quartz-all}</version>
|
|
79
|
</dependency>
|
|
80
|
<dependency>
|
|
81
|
<groupId>junit</groupId>
|
|
82
|
<artifactId>junit</artifactId>
|
|
83
|
<version>${junit}</version>
|
|
84
|
<scope>test</scope>
|
|
85
|
</dependency>
|
|
86
|
<dependency>
|
|
87
|
<groupId>javax.servlet</groupId>
|
|
88
|
<artifactId>servlet-api</artifactId>
|
|
89
|
<version>${servlet-api}</version>
|
|
90
|
<scope>provided</scope>
|
|
91
|
</dependency>
|
|
92
|
<dependency>
|
|
93
|
<groupId>org.apache.commons</groupId>
|
|
94
|
<artifactId>commons-lang3</artifactId>
|
|
95
|
<version>${commons-lang3}</version>
|
|
96
|
</dependency>
|
|
97
|
<dependency>
|
|
98
|
<groupId>log4j</groupId>
|
|
99
|
<artifactId>log4j</artifactId>
|
|
100
|
<version>${log4j}</version>
|
|
101
|
</dependency>
|
|
102
|
<dependency>
|
|
103
|
<groupId>dom4j</groupId>
|
|
104
|
<artifactId>dom4j</artifactId>
|
|
105
|
<version>${dom4j}</version>
|
|
106
|
</dependency>
|
|
107
|
<dependency>
|
|
108
|
<groupId>jaxen</groupId>
|
|
109
|
<artifactId>jaxen</artifactId>
|
|
110
|
<version>${jaxen}</version>
|
|
111
|
</dependency>
|
|
112
|
<dependency>
|
|
113
|
<groupId>com.mashape.unirest</groupId>
|
|
114
|
<artifactId>unirest-java</artifactId>
|
|
115
|
<version>${unirest-java}</version>
|
|
116
|
</dependency>
|
|
117
|
<dependency>
|
|
118
|
<groupId>org.beetl</groupId>
|
|
119
|
<artifactId>beetl-core</artifactId>
|
|
120
|
<version>${beetl-core}</version>
|
|
121
|
</dependency>
|
|
122
|
<dependency>
|
|
123
|
<groupId>org.apache.velocity</groupId>
|
|
124
|
<artifactId>velocity</artifactId>
|
|
125
|
<version>${velocity}</version>
|
|
126
|
</dependency>
|
|
127
|
<dependency>
|
|
128
|
<groupId>org.jsoup</groupId>
|
|
129
|
<artifactId>jsoup</artifactId>
|
|
130
|
<version>${jsoup}</version>
|
|
131
|
</dependency>
|
|
132
|
<dependency>
|
|
133
|
<groupId>commons-fileupload</groupId>
|
|
134
|
<artifactId>commons-fileupload</artifactId>
|
|
135
|
<version>${commons-fileupload}</version>
|
|
136
|
</dependency>
|
|
137
|
<dependency>
|
|
138
|
<groupId>commons-dbcp</groupId>
|
|
139
|
<artifactId>commons-dbcp</artifactId>
|
|
140
|
<version>${commons-dbcp}</version>
|
|
141
|
</dependency>
|
|
142
|
<dependency>
|
|
143
|
<groupId>mysql</groupId>
|
|
144
|
<artifactId>mysql-connector-java</artifactId>
|
|
145
|
<version>${mysql-connector-java}</version>
|
|
146
|
</dependency>
|
|
147
|
<dependency>
|
|
148
|
<groupId>commons-codec</groupId>
|
|
149
|
<artifactId>commons-codec</artifactId>
|
|
150
|
<version>${commons-codec}</version>
|
|
151
|
</dependency>
|
|
152
|
|
|
153
|
<!-- 3rd party jar -->
|
|
154
|
<dependency>
|
|
155
|
<groupId>com</groupId>
|
|
156
|
<artifactId>java_memcache-release</artifactId>
|
|
157
|
<version>${java_memcache-release}</version>
|
|
158
|
</dependency>
|
|
159
|
<dependency>
|
|
160
|
<groupId>com.amail</groupId>
|
|
161
|
<artifactId>amail</artifactId>
|
|
162
|
<version>${amail}</version>
|
|
163
|
</dependency>
|
|
164
|
<dependency>
|
|
165
|
<groupId>com.zxing</groupId>
|
|
166
|
<artifactId>zxing</artifactId>
|
|
167
|
<version>${zxing}</version>
|
|
168
|
</dependency>
|
|
169
|
<dependency>
|
|
170
|
<groupId>ojdbc</groupId>
|
|
171
|
<artifactId>ojdbc</artifactId>
|
|
172
|
<version>${ojdbc}</version>
|
|
173
|
</dependency>
|
|
174
|
|
|
175
|
<!-- ipu jar -->
|
|
176
|
<dependency>
|
|
177
|
<groupId>com.ai.ipu</groupId>
|
|
178
|
<artifactId>ipu-basic</artifactId>
|
|
179
|
<version>${ipu}</version>
|
|
180
|
</dependency>
|
|
181
|
<dependency>
|
|
182
|
<groupId>com.ai.ipu</groupId>
|
|
183
|
<artifactId>ipu-common</artifactId>
|
|
184
|
<version>${ipu}</version>
|
|
185
|
</dependency>
|
|
186
|
<dependency>
|
|
187
|
<groupId>com.ai.ipu</groupId>
|
|
188
|
<artifactId>ipu-database</artifactId>
|
|
189
|
<version>${ipu}</version>
|
|
190
|
</dependency>
|
|
191
|
<dependency>
|
|
192
|
<groupId>com.ai.ipu</groupId>
|
|
193
|
<artifactId>ipu-remote-clinet</artifactId>
|
|
194
|
<version>${ipu}</version>
|
|
195
|
</dependency>
|
|
196
|
<dependency>
|
|
197
|
<groupId>com.ai.ipu</groupId>
|
|
198
|
<artifactId>ipu-server-web</artifactId>
|
|
199
|
<version>${ipu}</version>
|
|
200
|
</dependency>
|
|
201
|
<dependency>
|
|
202
|
<groupId>com.ai.ipu</groupId>
|
|
203
|
<artifactId>ipu-file-system</artifactId>
|
|
204
|
<version>${ipu}</version>
|
|
205
|
<exclusions>
|
|
206
|
<exclusion>
|
|
207
|
<artifactId>slf4j-log4j12</artifactId>
|
|
208
|
<groupId>org.slf4j</groupId>
|
|
209
|
</exclusion>
|
|
210
|
</exclusions>
|
|
211
|
</dependency>
|
|
212
|
|
|
213
|
<dependency>
|
|
214
|
<!-- 不推荐使用,推荐使用wade-mobile-data -->
|
|
215
|
<groupId>com.ai.wade</groupId>
|
|
216
|
<artifactId>wade-data</artifactId>
|
|
217
|
<version>${wade}</version>
|
|
218
|
</dependency>
|
|
219
|
<dependency>
|
|
220
|
<!-- 不依赖其他jar -->
|
|
221
|
<groupId>com.ai.wade</groupId>
|
|
222
|
<artifactId>wade-mobile-data</artifactId>
|
|
223
|
<version>${wade}</version>
|
|
224
|
</dependency>
|
|
225
|
<dependency>
|
|
226
|
<!-- commons-collections-3.2.jar,quartz-all-1.6.3.jar,jdom1.0.jar,wade-apache,wade-common,wade-mobile-data -->
|
|
227
|
<groupId>com.ai.wade</groupId>
|
|
228
|
<artifactId>wade-cache</artifactId>
|
|
229
|
<version>${wade}</version>
|
|
230
|
</dependency>
|
|
231
|
<dependency>
|
|
232
|
<groupId>com.ai.wade</groupId>
|
|
233
|
<artifactId>wade-apache</artifactId>
|
|
234
|
<version>${wade}</version>
|
|
235
|
</dependency>
|
|
236
|
<dependency>
|
|
237
|
<groupId>com.ai.wade</groupId>
|
|
238
|
<artifactId>wade-common</artifactId>
|
|
239
|
<version>${wade}</version>
|
|
240
|
</dependency>
|
|
241
|
<dependency>
|
|
242
|
<!-- commons-dbcp-1.4.jar,dom4j-1.6.1.jar,jaxen-1.1.1.jar,jta.jar,ojdbc14.jar,mysql-connector-5.1.39.jar,wade-apache,wade-cache,wade-common,wade-mobile-data -->
|
|
243
|
<groupId>com.ai.wade</groupId>
|
|
244
|
<artifactId>wade-database</artifactId>
|
|
245
|
<version>${wade}</version>
|
|
246
|
</dependency>
|
|
247
|
<dependency>
|
|
248
|
<groupId>com.ai.wade</groupId>
|
|
249
|
<artifactId>wade-sqlite-jdbc</artifactId>
|
|
250
|
<version>${wade}</version>
|
|
251
|
</dependency>
|
|
252
|
<dependency>
|
|
253
|
<!-- ipu-basic,ipu-server-web,wade-apache,wade-cache,wade-common,wade-database,wade-mobile-data -->
|
|
254
|
<groupId>com.ai.wade</groupId>
|
|
255
|
<artifactId>wade-codecode</artifactId>
|
|
256
|
<version>${wade}</version>
|
|
257
|
</dependency>
|
|
258
|
|
|
259
|
</dependencies>
|
|
260
|
</dependencyManagement>
|
|
261
|
|
|
262
|
<artifactId>display-server</artifactId>
|
|
263
|
<packaging>war</packaging>
|
|
264
|
<name>展示平台</name>
|
|
265
|
<description>3.0以后的展示平台工程全部支持Maven和Ant两种构建方式</description>
|
|
266
|
|
|
267
|
<dependencies>
|
|
268
|
<!-- 公共必选依赖 -->
|
|
269
|
<!-- Central jar -->
|
|
270
|
<dependency>
|
|
271
|
<groupId>junit</groupId>
|
|
272
|
<artifactId>junit</artifactId>
|
|
273
|
</dependency>
|
|
274
|
|
|
275
|
<dependency>
|
|
276
|
<groupId>org.apache.commons</groupId>
|
|
277
|
<artifactId>commons-lang3</artifactId>
|
|
278
|
</dependency>
|
|
279
|
<dependency>
|
|
280
|
<groupId>log4j</groupId>
|
|
281
|
<artifactId>log4j</artifactId>
|
|
282
|
</dependency>
|
|
283
|
<dependency>
|
|
284
|
<groupId>dom4j</groupId>
|
|
285
|
<artifactId>dom4j</artifactId>
|
|
286
|
</dependency>
|
|
287
|
<dependency>
|
|
288
|
<groupId>jaxen</groupId>
|
|
289
|
<artifactId>jaxen</artifactId>
|
|
290
|
</dependency>
|
|
291
|
<dependency>
|
|
292
|
<groupId>com.mashape.unirest</groupId>
|
|
293
|
<artifactId>unirest-java</artifactId>
|
|
294
|
</dependency>
|
|
295
|
<dependency>
|
|
296
|
<groupId>org.beetl</groupId>
|
|
297
|
<artifactId>beetl-core</artifactId>
|
|
298
|
</dependency>
|
|
299
|
<dependency>
|
|
300
|
<groupId>org.apache.velocity</groupId>
|
|
301
|
<artifactId>velocity</artifactId>
|
|
302
|
</dependency>
|
|
303
|
<!-- 3rd party jar -->
|
|
304
|
<dependency>
|
|
305
|
<groupId>com</groupId>
|
|
306
|
<artifactId>java_memcache-release</artifactId>
|
|
307
|
</dependency>
|
|
308
|
<!-- ipu jar -->
|
|
309
|
<dependency>
|
|
310
|
<groupId>com.ai.ipu</groupId>
|
|
311
|
<artifactId>ipu-basic</artifactId>
|
|
312
|
</dependency>
|
|
313
|
<dependency>
|
|
314
|
<groupId>com.ai.ipu</groupId>
|
|
315
|
<artifactId>ipu-common</artifactId>
|
|
316
|
</dependency>
|
|
317
|
<dependency>
|
|
318
|
<groupId>com.ai.ipu</groupId>
|
|
319
|
<artifactId>ipu-server-web</artifactId>
|
|
320
|
</dependency>
|
|
321
|
<dependency>
|
|
322
|
<groupId>com.ai.ipu</groupId>
|
|
323
|
<artifactId>ipu-file-system</artifactId>
|
|
324
|
</dependency>
|
|
325
|
<dependency>
|
|
326
|
<groupId>com.ai.wade</groupId>
|
|
327
|
<artifactId>wade-data</artifactId>
|
|
328
|
</dependency>
|
|
329
|
<dependency>
|
|
330
|
<groupId>com.ai.wade</groupId>
|
|
331
|
<artifactId>wade-cache</artifactId>
|
|
332
|
</dependency>
|
|
333
|
<dependency>
|
|
334
|
<groupId>com.ai.wade</groupId>
|
|
335
|
<artifactId>wade-database</artifactId>
|
|
336
|
</dependency>
|
|
337
|
<dependency>
|
|
338
|
<groupId>com.ai.wade</groupId>
|
|
339
|
<artifactId>wade-apache</artifactId>
|
|
340
|
</dependency>
|
|
341
|
<dependency>
|
|
342
|
<groupId>com.ai.wade</groupId>
|
|
343
|
<artifactId>wade-common</artifactId>
|
|
344
|
</dependency>
|
|
345
|
<dependency>
|
|
346
|
<groupId>com.ai.wade</groupId>
|
|
347
|
<artifactId>wade-sqlite-jdbc</artifactId>
|
|
348
|
</dependency>
|
|
349
|
|
|
350
|
<!-- 公共可选依赖 -->
|
|
351
|
<dependency>
|
|
352
|
<groupId>org.jsoup</groupId>
|
|
353
|
<artifactId>jsoup</artifactId>
|
|
354
|
</dependency>
|
|
355
|
<dependency>
|
|
356
|
<groupId>commons-dbcp</groupId>
|
|
357
|
<artifactId>commons-dbcp</artifactId>
|
|
358
|
</dependency>
|
|
359
|
<dependency>
|
|
360
|
<groupId>mysql</groupId>
|
|
361
|
<artifactId>mysql-connector-java</artifactId>
|
|
362
|
</dependency>
|
|
363
|
<dependency>
|
|
364
|
<groupId>commons-fileupload</groupId>
|
|
365
|
<artifactId>commons-fileupload</artifactId>
|
|
366
|
</dependency>
|
|
367
|
<dependency>
|
|
368
|
<groupId>commons-codec</groupId>
|
|
369
|
<artifactId>commons-codec</artifactId>
|
|
370
|
</dependency>
|
|
371
|
<!-- 额外依赖 -->
|
|
372
|
<!-- 缺省用tomcat容器 -->
|
|
373
|
|
|
374
|
<dependency>
|
|
375
|
<groupId>org.springframework.boot</groupId>
|
|
376
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
377
|
</dependency>
|
|
378
|
|
|
379
|
<!-- 使用jetty容器 -->
|
|
380
|
<!--
|
|
381
|
<dependency>
|
|
382
|
<groupId>org.springframework.boot</groupId>
|
|
383
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
384
|
<exclusions>
|
|
385
|
<exclusion>
|
|
386
|
<groupId>org.springframework.boot</groupId>
|
|
387
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
388
|
</exclusion>
|
|
389
|
</exclusions>
|
|
390
|
</dependency>
|
|
391
|
<dependency>
|
|
392
|
<groupId>org.springframework.boot</groupId>
|
|
393
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
|
394
|
</dependency>
|
|
395
|
-->
|
|
396
|
<dependency>
|
|
397
|
<groupId>org.springframework.boot</groupId>
|
|
398
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
399
|
<scope>provided</scope>
|
|
400
|
</dependency>
|
|
401
|
|
|
402
|
<dependency>
|
|
403
|
<groupId>org.springframework.boot</groupId>
|
|
404
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
405
|
</dependency>
|
|
406
|
|
|
407
|
</dependencies>
|
|
408
|
|
|
409
|
<build>
|
|
410
|
<pluginManagement>
|
|
411
|
<plugins>
|
|
412
|
<!-- 默认插件,不引入也可使用 -->
|
|
413
|
<!-- 默认jre编译版本:1.6 -->
|
|
414
|
<plugin>
|
|
415
|
<groupId>org.apache.maven.plugins</groupId>
|
|
416
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
417
|
<version>${maven-compiler-plugin}</version>
|
|
418
|
<configuration>
|
|
419
|
<source>${compiler-version}</source>
|
|
420
|
<target>${compiler-version}</target>
|
|
421
|
<encoding>${encoding}</encoding>
|
|
422
|
</configuration>
|
|
423
|
</plugin>
|
|
424
|
<!-- war包去除servlet-api的jar包 -->
|
|
425
|
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId>
|
|
426
|
<version>${maven-war-plugin}</version> <configuration> servlet-api相关jar不打包,前面的scope=provided已解决
|
|
427
|
<packagingExcludes> WEB-INF/lib/servlet-api*.jar </packagingExcludes> <webResources>
|
|
428
|
<resource> <directory>${jar-path}</directory> <includes> <include>*.jar</include>
|
|
429
|
</includes> <targetPath>WEB-INF/lib</targetPath> </resource> </webResources>
|
|
430
|
</configuration> </plugin> -->
|
|
431
|
<!-- 跳过单元测试 -->
|
|
432
|
<plugin>
|
|
433
|
<groupId>org.apache.maven.plugins</groupId>
|
|
434
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
435
|
<version>${maven-surefire-plugin}</version>
|
|
436
|
<configuration>
|
|
437
|
<!-- 跳过单元测试 -->
|
|
438
|
<skip>true</skip>
|
|
439
|
</configuration>
|
|
440
|
</plugin>
|
|
441
|
<!-- clean中间文件 -->
|
|
442
|
<plugin>
|
|
443
|
<artifactId>maven-clean-plugin</artifactId>
|
|
444
|
<version>${maven-clean-plugin}</version>
|
|
445
|
<executions>
|
|
446
|
<execution>
|
|
447
|
<id>clean-all</id>
|
|
448
|
<phase>clean</phase>
|
|
449
|
<goals>
|
|
450
|
<goal>clean</goal>
|
|
451
|
</goals>
|
|
452
|
<configuration>
|
|
453
|
<filesets>
|
|
454
|
<fileset>
|
|
455
|
<directory>${basedir}/src/main/webapp/encrypt</directory>
|
|
456
|
<includes>
|
|
457
|
<include>**/*</include>
|
|
458
|
</includes>
|
|
459
|
</fileset>
|
|
460
|
<fileset>
|
|
461
|
<directory>${basedir}/src/main/webapp</directory>
|
|
462
|
<includes>
|
|
463
|
<include>res.version.properties</include>
|
|
464
|
</includes>
|
|
465
|
</fileset>
|
|
466
|
<fileset>
|
|
467
|
<directory>${basedir}/src/main/webapp/template/lua</directory>
|
|
468
|
<includes>
|
|
469
|
<include>**/*</include>
|
|
470
|
</includes>
|
|
471
|
</fileset>
|
|
472
|
</filesets>
|
|
473
|
</configuration>
|
|
474
|
</execution>
|
|
475
|
<!-- 打包之前clean掉明文配置文件 -->
|
|
476
|
<execution>
|
|
477
|
<id>clean-config</id>
|
|
478
|
<phase>prepare-package</phase><!-- 打包之前 -->
|
|
479
|
<goals>
|
|
480
|
<goal>clean</goal>
|
|
481
|
</goals>
|
|
482
|
<configuration>
|
|
483
|
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
|
484
|
<filesets>
|
|
485
|
<fileset>
|
|
486
|
<directory>${basedir}/src/main/webapp/template</directory>
|
|
487
|
<includes>
|
|
488
|
<include>server-config.xml</include>
|
|
489
|
<include>server-data.xml</include>
|
|
490
|
<include>server-page.xml</include>
|
|
491
|
</includes>
|
|
492
|
</fileset>
|
|
493
|
</filesets>
|
|
494
|
</configuration>
|
|
495
|
</execution>
|
|
496
|
</executions>
|
|
497
|
</plugin>
|
|
498
|
<!-- 复制资源 -->
|
|
499
|
<plugin>
|
|
500
|
<artifactId>maven-resources-plugin</artifactId>
|
|
501
|
<version>${maven-resources-plugin}</version>
|
|
502
|
<configuration>
|
|
503
|
<encoding>${encoding}</encoding>
|
|
504
|
</configuration>
|
|
505
|
<executions>
|
|
506
|
<execution>
|
|
507
|
<id>copy-config</id>
|
|
508
|
<phase>process-resources</phase><!-- 编译之前处理文件 -->
|
|
509
|
<goals>
|
|
510
|
<goal>copy-resources</goal>
|
|
511
|
</goals>
|
|
512
|
<configuration>
|
|
513
|
<outputDirectory>${basedir}/src/main/webapp/template</outputDirectory>
|
|
514
|
<resources>
|
|
515
|
<resource>
|
|
516
|
<directory>${basedir}/src/main/resources</directory>
|
|
517
|
<includes>
|
|
518
|
<include>server-config.xml</include>
|
|
519
|
<include>server-data.xml</include>
|
|
520
|
<include>server-page.xml</include>
|
|
521
|
</includes>
|
|
522
|
</resource>
|
|
523
|
</resources>
|
|
524
|
</configuration>
|
|
525
|
</execution>
|
|
526
|
<execution>
|
|
527
|
<id>copy-lua</id>
|
|
528
|
<phase>process-resources</phase>
|
|
529
|
<goals>
|
|
530
|
<goal>copy-resources</goal>
|
|
531
|
</goals>
|
|
532
|
<configuration>
|
|
533
|
<outputDirectory>${basedir}/src/main/webapp/template/lua</outputDirectory>
|
|
534
|
<resources>
|
|
535
|
<resource>
|
|
536
|
<directory>${basedir}/src/main/resources/lua</directory>
|
|
537
|
</resource>
|
|
538
|
</resources>
|
|
539
|
</configuration>
|
|
540
|
</execution>
|
|
541
|
</executions>
|
|
542
|
</plugin>
|
|
543
|
<!-- 生成文件版本号和文件加密 -->
|
|
544
|
<plugin>
|
|
545
|
<groupId>org.codehaus.mojo</groupId>
|
|
546
|
<artifactId>exec-maven-plugin</artifactId>
|
|
547
|
<version>${exec-maven-plugin}</version>
|
|
548
|
<executions>
|
|
549
|
<execution>
|
|
550
|
<id>res-encrypt</id>
|
|
551
|
<phase>test</phase>
|
|
552
|
<goals>
|
|
553
|
<goal>java</goal>
|
|
554
|
</goals>
|
|
555
|
<configuration>
|
|
556
|
<classpathScope>compile</classpathScope>
|
|
557
|
<includeProjectDependencies>true</includeProjectDependencies>
|
|
558
|
<mainClass>com.ai.ipu.server.tool.FileEncryptToolMaven</mainClass>
|
|
559
|
<arguments>
|
|
560
|
<argument>src/main/webapp/</argument>
|
|
561
|
<argument>false</argument>
|
|
562
|
<argument></argument>
|
|
563
|
</arguments>
|
|
564
|
</configuration>
|
|
565
|
</execution>
|
|
566
|
<execution>
|
|
567
|
<id>res-version</id>
|
|
568
|
<phase>prepare-package</phase>
|
|
569
|
<goals>
|
|
570
|
<goal>java</goal>
|
|
571
|
</goals>
|
|
572
|
<configuration>
|
|
573
|
<classpathScope>compile</classpathScope>
|
|
574
|
<includeProjectDependencies>true</includeProjectDependencies>
|
|
575
|
<mainClass>com.ai.ipu.server.tool.VersionToolMaven</mainClass>
|
|
576
|
<arguments>
|
|
577
|
<argument>src/main/webapp/</argument>
|
|
578
|
<argument>false</argument>
|
|
579
|
<argument>upload|setup|.gitignore|.DS_Store</argument>
|
|
580
|
</arguments>
|
|
581
|
</configuration>
|
|
582
|
</execution>
|
|
583
|
</executions>
|
|
584
|
</plugin>
|
|
585
|
<plugin>
|
|
586
|
<groupId>org.apache.maven.plugins</groupId>
|
|
587
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
588
|
<version>${maven-dependency-plugin}</version>
|
|
589
|
<executions>
|
|
590
|
<execution>
|
|
591
|
<id>copy-dep</id>
|
|
592
|
<phase>package</phase>
|
|
593
|
<goals>
|
|
594
|
<goal>copy-dependencies</goal>
|
|
595
|
</goals>
|
|
596
|
<configuration>
|
|
597
|
<outputDirectory>${basedir}/src/main/webapp/WEB-INF/lib</outputDirectory>
|
|
598
|
<excludeScope>provided</excludeScope>
|
|
599
|
<excludeArtifactIds>junit</excludeArtifactIds>
|
|
600
|
</configuration>
|
|
601
|
</execution>
|
|
602
|
</executions>
|
|
603
|
</plugin>
|
|
604
|
</plugins>
|
|
605
|
</pluginManagement>
|
|
606
|
|
|
607
|
<plugins>
|
|
608
|
<plugin>
|
|
609
|
<groupId>org.springframework.boot</groupId>
|
|
610
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
611
|
<version>1.2.1.RELEASE</version>
|
|
612
|
<configuration>
|
|
613
|
<mainClass>com.ai.server.springboot.MainModule</mainClass>
|
|
614
|
</configuration>
|
|
615
|
|
|
616
|
</plugin>
|
|
617
|
<!-- 生成文件版本号和文件加密 -->
|
|
618
|
<plugin>
|
|
619
|
<groupId>org.codehaus.mojo</groupId>
|
|
620
|
<artifactId>exec-maven-plugin</artifactId>
|
|
621
|
</plugin>
|
|
622
|
</plugins>
|
|
623
|
|
|
624
|
<outputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</outputDirectory>
|
|
625
|
<finalName>display</finalName>
|
|
626
|
</build>
|
|
627
|
</project>
|