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

Chapter 3. Maven Lifecycle

Let us start putting Maven to use. In this chapter, we will cover the following recipes:

  • Understanding the Maven lifecycle, phases, and goals

  • Understanding the pom file

  • Understanding Maven settings

  • Understanding command-line options in Maven

  • Understanding Maven profiles

  • Adding a new Maven profile

  • Activating/deactivating a Maven profile

  • Using properties in Maven

  • Specifying source encoding for platform-independent builds