Chapter 4. Building and Running a Project

Congratulations! You are halfway through the book. As discussed in earlier chapters, Maven follows convention over configuration; this implies there is a default build mechanism in place. The build mechanism, often termed as the build lifecycle, forms a sequence of steps grouped together in phases (also known as stages). Each phase is accompanied with a set of goals that define the unit of task. In this chapter, we will look at three standard lifecycles—clean, default, and site—and get acquainted with other common lifecycles. You will also get to know about building and running the hello-project, which was created in Chapter 3, Creating and Importing Projects. This chapter covers the following sections: ...

Get Maven for Eclipse now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.