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

Building EE applications

Now that we explored all the core features of Maven, we are ready to use them together to manage the build process of Java EE applications. Usually, EE applications consist of several WAR and JAR archives, and so the Maven way to manage them is to create a multimodule Maven project.

Building WEB applications

As we have already seen in the preceding examples, and also when we spoke of WAR packaging, we have to put the web application resources (JSP files, deployment descriptors, static images, and so on) under /src/main/webapp. This is the default value for the warSourceDirectory configuration property of the Maven WAR Plugin.

In addition, we can define other web resource directories and activate resource filtering for the ...

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