????????Java???Щ?????? fat-jar
????fat-jar ?????uber-jar
????the fat-jar is the jar??which contains classes and resources from all the libraries?? on which your project depends
????fat-jar ?????????jar????????????????????????????????е???
????<plugin>
????<groupId>org.apache.maven.plugins</groupId>
????<artifactId>maven-jar-plugin</artifactId>
????<configuration>
????<archive>
????<manifest>
????<mainClass>com.volshell.Starter</mainClass>
????</manifest>
????</archive>
????</configuration>
????</plugin>
?????????????????????????“java.lang.NoClassDefFoundError”??????????
??????????onejar-plugin?????á?
????<plugin>
????<groupId>com.jolira</groupId>
????<artifactId>onejar-maven-plugin</artifactId>
????<version>1.4.4</version>
????<executions>
????<execution>
????<configuration>
????<onejarVersion>0.97</onejarVersion>
????<classifier>onejar</classifier>
????</configuration>
????<!--????????????????jar?????????one-jar????-->
????<goals>
????<goal>one-jar</goal>
????</goals>
????</execution>
????</executions>
????</plugin>
????REFERENCES
????Packing your java application as one (or fat) jar