> 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...

[Marcin Kwapisz] 
Maven does not pack jar into jar. You can use assembly plugin to do that (as 
Eric Lewis wrote), but you can also use dependency plugin to copy dependencies 
(needed libraries) to you Target directory (or directory where your main jar is 
located). 

Regards
Marcin Kwapisz


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to