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 that the versions of dependencies used by each module are managed well. There is also an opportunity to optimize on the dependencies and plugins to reduce the repetition of build scripts.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.77.63