File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed
Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 1818 <artifactId >jSerialComm</artifactId >
1919 <version >[2.0.0,3.0.0)</version >
2020 </dependency >
21+ <dependency >
22+ <groupId >org.apache.maven.plugins</groupId >
23+ <artifactId >maven-assembly-plugin</artifactId >
24+ <version >3.6.0</version >
25+ <type >maven-plugin</type >
26+ </dependency >
2127 </dependencies >
2228
2329 <build >
2430 <plugins >
2531 <plugin >
2632 <groupId >org.apache.maven.plugins</groupId >
27- <artifactId >maven-jar -plugin</artifactId >
33+ <artifactId >maven-assembly -plugin</artifactId >
2834 <configuration >
35+ <appendAssemblyId >false</appendAssemblyId > <!-- only compiles to jar with dependency-->
36+ <descriptorRefs >
37+ <descriptorRef >jar-with-dependencies</descriptorRef >
38+ </descriptorRefs >
2939 <archive >
3040 <manifest >
31- <mainClass >
32- ooo.paulsen.audiocontroller.demo.Demo
33- </mainClass >
41+ <mainClass >ooo.paulsen.audiocontroller.demo.Demo</mainClass >
3442 </manifest >
3543 </archive >
3644 </configuration >
45+ <executions >
46+ <execution >
47+ <id >make-assembly</id >
48+ <phase >package</phase >
49+ <goals >
50+ <goal >single</goal >
51+ </goals >
52+ </execution >
53+ </executions >
3754 </plugin >
3855 </plugins >
3956 </build >
You can’t perform that action at this time.
0 commit comments