Summary

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.

Get Maven Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.