This simple project shows how Maven can be used to build Java 9 modules.
This simple project shows how Maven can be used to build Java 9 modules.
It uses the ServiceLoader
to load loosely coupled services from other modules.
It also demonstrates how methods in non-exported packages can be unit-tested from the
Unnamed Module simply by not modularizing the test sources.
Read more in our blog post: Getting Started with Java 9 Modules
mvn clean package
.\run.cmd
or ./run.sh