------ Maven 2 Assembly Plugin ------ Johnny R. Ruiz III ------ September 20, 2005 How to Use These is a brief example on how to use the assembly:assembly goal and assembly:unpack goal. To use the assembly:assembly goal, you must define the descriptor file that you are going to use or define the descriptorId from the predefined {{{descriptor.html}descriptor ids}}. * How To use assembly:assembly using a customized descriptor file. ----- m2 assembly:assembly -Dmaven.assembly.descriptor=path/to/descriptor.xml ----- * How to use assembly:assembly using predefined descriptor ids. ---- m2 assembly:assembly -Dmaven.assembly.descriptorId=bin or m2 assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies or m2 assembly:assembly -Dmaven.assembly.descriptorId=src ----- * How to configure assembly:assembly plugin in pom.xml You can also configure this plugin inside your pom.xml. To run use "m2 assembly:assembly". ------------------- ... ... maven-assembly-plugin 2.0-beta-1 path/to/descriptor.xml final_name output/directory target/assembly/work ... ... ------------------- * How to use assembly:unpack After running this goal, all dependencies will be extracted at the specified "\". ----- m2 assembly:unpack ----- For full documentation, click {{{index.html}here}}.