In this chapter, we focused on the Maven assembly
plugin. The assembly
plugin provides a way of building custom archive files, aggregating many other custom configurations and resources. Most of the Java based products use the assembly
plugin to build the final distribution artifacts. These can be a binary distribution, a source code distribution, or even a documentation distribution. This chapter covered real-world examples on how to use the Maven assembly
plugin in detail, and finally, concluded with an end-to-end sample Maven project.
In the next chapter, we will discuss best practices in Maven.