Book Image

Apache Maven Cookbook

Book Image

Apache Maven Cookbook

Overview of this book

Table of Contents (18 chapters)
Apache Maven Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
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.