The Application Assembler Plugin is a Maven plugin for generating scripts for starting java applications. All dependencies and the artifact of the project itself are placed in a generated Maven repository in a defined assemble directory. All artifacts (dependencies + the artifact from the project) are added to the classpath in the generated bin scripts.
Other generators than the default support different platforms depending on the availability of the tools the generator targets.
Instructions on how to use the Application Assembler Plugin can be found here.