O'Reilly logo

Apache Maven Cookbook by Raghuram Bharathan

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 9. Multi-module Projects

In this chapter we will cover the following recipes:

  • Understanding project inheritance
  • Understanding project aggregation
  • Combining inheritance and aggregation
  • Performing multi-module dependency management
  • Performing multi-module plugin management
  • Selectively building modules
  • Reporting for multi-module projects

Introduction

Except for simple projects, most real-life projects have more than one module. Each of them can be developed independently. Some modules might depend on others. A project that uses these modules would want to ensure that it builds successfully with the appropriate versions of all the modules.

As we look at multiple modules, each module may use a number of dependencies. To avoid dependency hell, it is important ...

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