In the previous chapter, we looked at several strategies and approaches to migrate an existing Java code base to Java 9. In this chapter, we'll wrap up our journey of Java 9 modularity by looking at two important topics that you are very likely to encounter, irrespective of whether you are migrating a legacy code base or creating a new modular application from scratch. They are build tool integration and unit testing.
Here's what we'll cover in this chapter:
- Integrating Java 9 modules with the Maven build process
- Working with a multi-module Java 9 Maven project
- Writing unit test cases for Java 9 modules using JUnit
- Handling new access issues and challenges with testing in Java 9
Considering that build systems and unit testing are extremely common and important parts of a modern Java developer's workflow, it may seem...