Development Guide -> class loading -> 3.3. Generate MANIFEST.MF entries using Maven
The main goal in the assembly plugin is the single goal. It is used to create all assemblies. All other goals are deprecated and will be removed in a future release.
For more information about the goals that are available in the Assembly Plugin, see the plugin documentation page.
Usage of the assembly:assembly, assembly:attached, assembly:directory, and assembly:directory-inline are deprecated, since they wreak havoc with normal build processes and promote non-standard build practices.
should be replaced with