O'Reilly logo

Maven Build Customization by Giacomo Veneri, Riccardo Giomi, Umberto Antonio Cicero, Roberto Baldi, Lorenzo Anardu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Core Maven Concepts

As we saw in the previous chapter, each Maven project is described by an XML configuration file called Project Object Model. What we have yet to see is how Maven will use the information contained in the POM, how we can clean and build our projects, which tasks we can decide to run, and finally, how Maven plugins take part in the build process. In order to answer all these questions, we'll dive into the core concepts of Maven, which are as follows:

  • Build lifecycles
  • Lifecycle phases and plugin goals
  • Packaging types (JAR, WAR, EAR)
  • Dependencies and repositories
  • Resource filtering

Using all these features, you will learn how to set up and build a complex multimodule Java EE application. All the examples of this chapter refer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required