I want to make a .Zip file by Maven Assembly Plugin and put these files into it:
- executable jar
- related classes in lib folder
- a script to run that jar
-
a folder that contains some other dependencies (like lib folder) and other classes(jars) that are needed because of these dependencies!
and my question is about number 4: is there any way to put these dependencies automatically?
thanks ..
The maven assembly website has the folowing examples which I think, answer most of your questions : http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/index.html