Le 2024-04-23 à 10 h 21, sebb a écrit :

Minor correction: the classes method will necessarily *detect* added sources, because they won't have a class file. What occurs as a result is another matter./ It might be worth considering forcing a full build as an option in such cases if there is any way that adding a new source file can affect the compilation of others.

Yes, I was thinking about one more value for <incrementalCompilation>, maybe "rebuildOnAdd". The current Maven 3 plugin has an implicit "rebuild on add" behavior when <useIncrementalCompilation> is true, but not when it is false.

    Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to