Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit f89af4c

Browse files
committed
打包
1 parent aa25d12 commit f89af4c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,29 @@
1515
<target>1.8</target>
1616
</configuration>
1717
</plugin>
18+
<plugin>
19+
<groupId>org.apache.maven.plugins</groupId>
20+
<artifactId>maven-shade-plugin</artifactId>
21+
<version>2.3</version>
22+
<executions>
23+
<execution>
24+
<phase>package</phase>
25+
<goals>
26+
<goal>shade</goal>
27+
</goals>
28+
<configuration>
29+
<transformers>
30+
<transformer
31+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
32+
<mainClass>com.zhazhapan.vspider.SpiderApplication</mainClass>
33+
</transformer>
34+
</transformers>
35+
<artifactSet>
36+
</artifactSet>
37+
</configuration>
38+
</execution>
39+
</executions>
40+
</plugin>
1841
</plugins>
1942
</build>
2043
<packaging>jar</packaging>

0 commit comments

Comments
 (0)