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

Adding and configuring Maven plugins

Now that we explored the core concepts of Maven, we know that all the work is done by Maven plugins. We can say that there are no exceptions to this rule. Till now, we saw some core and packaging plugins such as the Maven Compiler Plugin, the Maven Install Plugin, the and the Maven JAR Plugin. We also learned how to explore their goals and properties using the Maven Help Plugin. What we have to know is how to customize the behavior of the plugins that are already bound by default to the build lifecycle and how to fill the lifecycle with the other required plugin goals.

The plugin-level configuration

If we need to configure a plugin, we can specify some common configuration parameters that will be used for all ...

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