I'm developing a simple, stand-alone, command line Java application. The project is managed by Maven. I'd like to build a deliverable, which can be copied and run on the client's machine.
I'm using the maven assembly plugin, the desired output is a single zip file containing:
- my_product.jar : only my classes, without dependencies
- lib/ : a lib folder containing all the dependencies in .jar format (e.g. lib/log4j.jar, lib/commons-lang.jar)
- a starter script file (copied from somewhere in the project)
How to describe this in an assembly-descriptor file? I'm having trouble creating my_product.jar into the assembly.