Hi Tom The easiest way is to use the appassembler plugin.
Best regards, Eric > -----Ursprüngliche Nachricht----- > Von: jamborta [mailto:jambo...@gmail.com] > Gesendet: Dienstag, 13. Oktober 2009 11:23 > An: users@maven.apache.org > Betreff: Running Jar file created by Maven > > > Hi guys, > > I'm new to Maven. I have this problem that I created a Maven > project in > netbeans, added dependencies, and build it successfully, it > runs in Netbeans > as well. but if I try to build it from the command prompt > using mvn install, > it build the whole staff, but when I try to run the jar file, > it just fails > becuase it cannot find the library files (dependencies), > looks like maven > doesn't add those files, although it downloads them... > please help me, i'm looking for the answer for quite a while now. > thanks > Tom > -- > View this message in context: > http://www.nabble.com/Running-Jar-file-created-by-Maven-tp2586 > 9690p25869690.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org