↗️ This README only covers one section of the demo. The master branch contains more information.
The modules in this branch create a simple cyclic dependency:
- monitor.persistence depends on monitor.statistics (as usual)
- monitor.statistics depends on monitor.persistence (this is new)
When compiling modules one by one, there is no way to observe the cycle because one dependency is always missing. Multi-module compilation gets around that and results in the following error:
TODO: Does it, though?
(Only in multi-compile.sh
, not with Maven.)