File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 324324 </sourceDirectories >
325325 </configuration >
326326 </plugin >
327+ <plugin >
328+ <groupId >org.apache.maven.plugins</groupId >
329+ <artifactId >maven-shade-plugin</artifactId >
330+ <version >1.7.1</version >
331+ <executions >
332+ <execution >
333+ <phase >package</phase >
334+ <goals >
335+ <goal >shade</goal >
336+ </goals >
337+ <configuration >
338+ <minimizeJar >true</minimizeJar >
339+ <filters >
340+ <filter >
341+ <artifact >*:*</artifact >
342+ <excludes >
343+ <exclude >META-INF/maven/commons-cli/**</exclude >
344+ <exclude >META-INF/LICENSE.txt</exclude >
345+ </excludes >
346+ </filter >
347+ </filters >
348+ <relocations >
349+ <relocation >
350+ <pattern >org.apache.commons.cli</pattern >
351+ <shadedPattern >javancss.cli</shadedPattern >
352+ </relocation >
353+ </relocations >
354+ </configuration >
355+ </execution >
356+ </executions >
357+ </plugin >
327358 </plugins >
328359 </build >
329360
337368 <groupId >org.apache.ant</groupId >
338369 <artifactId >ant</artifactId >
339370 <version >1.9.7</version >
340- <optional >true</ optional >
371+ <scope >provided</ scope >
341372 </dependency >
342373 <dependency >
343374 <groupId >junit</groupId >
You can’t perform that action at this time.
0 commit comments