This document provides examples and explanations of using Maven for building Java projects. It begins with installing Maven and describing its core concepts like the project object model (POM), plugins, goals, lifecycles and dependency management. It then walks through two examples: a simple project built and run with Maven commands, and using Maven to optimize a more complex project structure. The document also explains how to set up a Maven repository for dependency storage and integration with Jenkins for continuous integration builds.