<useDefaultDelimiters>false</useDefaultDelimiters> | ||
224 | 224 | </configuration> |
225 | 225 | </plugin> |
226 | + <plugin> | |
227 | + <groupId>org.apache.maven.plugins</groupId> | |
228 | + <artifactId>maven-jar-plugin</artifactId> | |
229 | + <version>3.0.2</version> | |
230 | + <configuration> | |
231 | + <archive> | |
232 | + <manifest> | |
233 | + <addClasspath>true</addClasspath> | |
234 | + <classpathPrefix>lib/</classpathPrefix> | |
235 | + <mainClass>com.flyingtiger.trade.channel.Launcher</mainClass> | |
236 | + </manifest> | |
237 | + </archive> | |
238 | + </configuration> | |
239 | + </plugin> | |
240 | + <plugin> | |
241 | + <groupId>org.apache.maven.plugins</groupId> | |
242 | + <artifactId>maven-assembly-plugin</artifactId> | |
243 | + <version>2.6</version> | |
244 | + <configuration> | |
245 | + <descriptors> | |
246 | + <descriptor>assembly.xml</descriptor> | |
247 | + </descriptors> | |
248 | + </configuration> | |
249 | + <executions> | |
250 | + <execution> | |
251 | + <id>make-assembly</id> | |
252 | + <phase>package</phase> | |
253 | + <goals> | |
254 | + <goal>single</goal> | |
255 | + </goals> | |
256 | + </execution> | |
257 | + </executions> | |
258 | + </plugin> | |
226 | 259 | </plugins> |
227 | 260 | </build> |
pom配置
最新推荐文章于 2022-12-21 16:32:08 发布