Affects Version/s: None
Fix Version/s: None
Currently, maven incremental compilation does not detect dependency change.
- Project A depends on Project B.
- Project B is recompiled.
- Project A should detect this change and recompile. (which is not the case currently)
- If B recompilation includes changing an interface, we expect A to recompile and fail accordingly.
A fix was already performed on maven-compiler-plugin, but it was never merged.
After recent discussion with Robert Scholte, he decided that the fix should rather be in maven-shared-incremental. I have performed the implementation for the fix in maven-shared-incremental, and I will be forking the project for that.
PS: The change include minor change in the maven-compiler-plugin for it to take effect.