add this paragraph of code to your pom.xml file in parallel to dependencies tag.. Customize the “mainClass” to your class path. Then run project as Maven Build…, type “clean package assembly:single” into the goal box and run the build. And you will have a JAR file with all the dependencies included in the target directory in your project folder.
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>arrow.CoreParser</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>