I've written a little Java command line tool, that I want to run by (for example)
java -jar myJarFile.jar de.my.path.MainClass arg0 arg1 arg2
For building the jar-File and managing the depedencies I am using Maven. Now I found out, that Maven does not include the depedencies of the POM-File in the Jar-File. So, when I run my jar-file, I get ClassNotFoundExceptions.. But to execute my jar-file I need those libraries in the classpath.
How can I manage this with Maven?
Thank you for your help!!