You have to add maven assembly plugin in your pom file it should be like this
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>org.codehaus.plexus.classworlds.launcher.Launcher</mainClass>
</manifest>
</archive>
</configuration>
<version>2.3</version>
</plugin>
I guess you do have a main method define in your Launcher class, which will be entry point of your application. After this you have to pack your code with dependencies which is required to run your project. In terminal refer to your project home directory and build using
mvn assembly:assembly
that will generate two jar file use jar with dependency to run your application. Now run your jar using
java -jar your_jar_with_dependency.jar