Skip to content

Commit

Permalink
fix jar no with dependencies (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
BanTanger authored Aug 30, 2023
1 parent fb3294b commit 9f2e66d
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions im-tcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,26 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
<mainClass>com.bantanger.im.tcp.Starter</mainClass> <!-- 设置应用程序的入口点 -->
</manifest>
</archive>
</configuration>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>com.bantanger.im.tcp.Starter</mainClass> <!-- 设置应用程序的入口点 -->
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 9f2e66d

Please sign in to comment.