Liwae Lamaa opened MSHARED-763 and commented
Currently, maven incremental compilation does not detect dependency change.
Sample scenario:
- 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.
https://issues.apache.org/jira/browse/MCOMPILER-278
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.
Issue Links:
-
MCOMPILER-474 Dependent modules are not recompiled if we run the "package" goal
("is fixed by")
-
MCOMPILER-278 Incremental build does not track inter-module dependencies.
-
MCOMPILER-368 package-info.java always triggers recompilation of module
Remote Links:
Liwae Lamaa opened MSHARED-763 and commented
Currently, maven incremental compilation does not detect dependency change.
Sample scenario:
A fix was already performed on maven-compiler-plugin, but it was never merged.
https://issues.apache.org/jira/browse/MCOMPILER-278
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.
Issue Links:
MCOMPILER-474 Dependent modules are not recompiled if we run the "package" goal
("is fixed by")
MCOMPILER-278 Incremental build does not track inter-module dependencies.
MCOMPILER-368 package-info.java always triggers recompilation of module
Remote Links: