File tree 2 files changed +46
-0
lines changed
2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 50
50
</execution >
51
51
</executions >
52
52
</plugin >
53
+ <plugin >
54
+ <artifactId >maven-assembly-plugin</artifactId >
55
+ <configuration >
56
+ <archive >
57
+ <!-- <manifest>-->
58
+ <!-- <!–这里指定要运行的main类–>-->
59
+ <!-- <mainClass>netty.client.TcpClient809</mainClass>-->
60
+ <!-- </manifest>-->
61
+ </archive >
62
+ <descriptorRefs >
63
+ <descriptorRef >jar-with-dependencies</descriptorRef >
64
+ </descriptorRefs >
65
+ </configuration >
66
+ <executions >
67
+ <execution >
68
+ <id >make-assembly</id > <!-- 此处指定继承合并 -->
69
+ <phase >package</phase > <!-- 绑定到打包阶段 -->
70
+ <goals >
71
+ <goal >single</goal >
72
+ </goals >
73
+ </execution >
74
+ </executions >
75
+ </plugin >
53
76
</plugins >
54
77
</build >
55
78
Original file line number Diff line number Diff line change 322
322
</programs >
323
323
</configuration >
324
324
</plugin >
325
+ <plugin >
326
+ <artifactId >maven-assembly-plugin</artifactId >
327
+ <configuration >
328
+ <archive >
329
+ <!-- <manifest>-->
330
+ <!-- <!–这里指定要运行的main类–>-->
331
+ <!-- <mainClass>netty.client.TcpClient809</mainClass>-->
332
+ <!-- </manifest>-->
333
+ </archive >
334
+ <descriptorRefs >
335
+ <descriptorRef >jar-with-dependencies</descriptorRef >
336
+ </descriptorRefs >
337
+ </configuration >
338
+ <executions >
339
+ <execution >
340
+ <id >make-assembly</id > <!-- 此处指定继承合并 -->
341
+ <phase >package</phase > <!-- 绑定到打包阶段 -->
342
+ <goals >
343
+ <goal >single</goal >
344
+ </goals >
345
+ </execution >
346
+ </executions >
347
+ </plugin >
325
348
</plugins >
326
349
</build >
327
350
</project >
You can’t perform that action at this time.
0 commit comments