Eric, Sorry I was not clear. I expected the behavior you describe but it's not the case in my project:
If I build a child module twice in a row, the 2nd time it will say "nothing to compile", as expected. But if I build the parent project (all modules) twice, it always says "changes detected, recompiling" for each child module. Same if I build a single child module and then build the parent project, it will detect some changes and recompile in that module. Jerome Le lundi 22 mai 2023 à 11:48:50 UTC+2, Eric Barboni <sk...@apache.org> a écrit : Hi, Maven will build all children, but should be faster on the compilation plugin part you should have something like that : Nothing to compile - all classes are up to date. Best Regards Eric De : Jerome Lelasseux <lelass...@yahoo.com.INVALID> Envoyé : vendredi 19 mai 2023 21:04 À : NetBeans Mailing List <users@netbeans.apache.org> Objet : Why Maven build app always recompiles ? On my NB platform app, if I open a single module and build it, it recompiles only when source files are modified, as expected. But when I run Build on the parent project, maven always recompiles all modules. Is it normal ? Jerome App is here https://github.com/jjazzboss/JJazzLabTemp