bulid runnable jar file with dependencies
<plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <phase>package</phase> <id>run-assembly</id> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin>