File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
standard-maven-template-demo Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 49
49
</compilerArgs >
50
50
</configuration >
51
51
</plugin >
52
+ <plugin >
53
+ <groupId >org.apache.maven.plugins</groupId >
54
+ <artifactId >maven-assembly-plugin</artifactId >
55
+ <version >3.6.0</version >
56
+ <configuration >
57
+ <archive >
58
+ <manifest >
59
+ <mainClass >${mainClass} </mainClass >
60
+ </manifest >
61
+ <manifestEntries >
62
+ <Multi-Release >true</Multi-Release >
63
+ </manifestEntries >
64
+ </archive >
65
+ <descriptorRefs >
66
+ <descriptorRef >jar-with-dependencies</descriptorRef >
67
+ </descriptorRefs >
68
+ <appendAssemblyId >false</appendAssemblyId >
69
+ </configuration >
70
+ <executions >
71
+ <execution >
72
+ <id >make-assembly</id > <!-- this is used for inheritance merges -->
73
+ <phase >package</phase > <!-- bind to the packaging phase -->
74
+ <goals >
75
+ <goal >single</goal >
76
+ </goals >
77
+ </execution >
78
+ </executions >
79
+ </plugin >
52
80
</plugins >
53
81
</build >
54
82
</project >
You can’t perform that action at this time.
0 commit comments