File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed
Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change 3434 </plugin >
3535 <plugin >
3636 <groupId >org.apache.maven.plugins</groupId >
37- <artifactId >maven-jar-plugin</artifactId >
38- <version >3.2.0</version >
39- <configuration >
40- <archive >
41- <manifest >
42- <mainClass >server.Main</mainClass >
43- </manifest >
44- </archive >
45- </configuration >
37+ <artifactId >maven-shade-plugin</artifactId >
38+ <version >3.2.4</version >
39+ <executions >
40+ <execution >
41+ <phase >package</phase >
42+ <goals >
43+ <goal >shade</goal >
44+ </goals >
45+ <configuration >
46+ <transformers >
47+ <transformer
48+ implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
49+ <mainClass >Main</mainClass >
50+ </transformer >
51+ </transformers >
52+ </configuration >
53+ </execution >
54+ </executions >
4655 </plugin >
4756 </plugins >
4857 </build >
You can’t perform that action at this time.
0 commit comments