Book Image

Apache Maven Cookbook

By : Raghuram Bharathan
Book Image

Apache Maven Cookbook

By: Raghuram Bharathan

Overview of this book

If you are a Java developer or a manager who has experience with Apache Maven and want to extend your knowledge, then this is the ideal book for you. Apache Maven Cookbook is for those who want to learn how Apache Maven can be used for build automation. It is also meant for those familiar with Apache Maven, but want to understand the finer nuances of Maven and solve specific problems.
Table of Contents (13 chapters)
12
Index

Introduction


We have set up Maven on our computer. We have created a simple Maven project and seen how to build it. We have also set up Maven to run on our preferred IDE.

Let us now understand better how Maven works and how to use it. We will start by understanding the Maven build lifecycle as well as the phases and goals that make up the lifecycle. We will also explore Maven's project configuration pom file as well as the settings file. We will also try to understand what Maven profiles are and why they are needed. Finally, we will look at Maven's properties.