Re: Why Maven build app always recompiles ?

2023-05-22 Thread Martin Desruisseaux
Hello Jerome Le 22/05/2023 à 22:53, Jerome Lelasseux a écrit : 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 ? I do no

Re: Why Maven build app always recompiles ?

2023-05-22 Thread Jerome Lelasseux
I did some more testing and discovered mvn -X... So I used mvn -X compile and mvn -X install to check the differences (it seems that the IDE 'Build' action uses the install goal). I found that only with the install goal the recompilation of my module is triggered by this dependency: [DEBUG] New

How to create an empty project in Netbeans15 for mac

2023-05-22 Thread Michael Kliem
I am using Netbeans 15 for mac and am trying to follow my lecturer as they go through a lesson. When my lecturer cerates a project called Week7Lecture a project is created with no java class. However whne I create a netbeans project called Week7Lecture, the project is created but also a main c

Re: Why Maven build app always recompiles ?

2023-05-22 Thread Jerome Lelasseux
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,

RE: Why Maven build app always recompiles ?

2023-05-22 Thread Eric Barboni
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 Envoyé : vendredi 19 mai 2023 21:04 À : NetBeans Mailing List Objet