Re: Offloading projects cli flag into profile

2024-03-21 Thread Mantas Gridinas
Ah, rereading the message it does feel it's unclear. Basically, I would like to execute a plugin goal only on particular modules which it is present on. The current way I do it fails the build because the spring-boot plugin is not present on all the modules. But you did push me towards the right

Re: Offloading projects cli flag into profile

2024-03-21 Thread Francois Marot
Hello Mantas, I think you did not explain what you are trying to achieve. Or at least I did not really understand. Are you trying to lower the build time ? If yes, then I would advise to use a Maven property for the configuration in the root pom Then most of your build could be run with

Offloading projects cli flag into profile

2024-03-21 Thread Mantas Gridinas
I have several spring boot applications in my reactor that need to be repackaged before deployment. Only those spring boot modules have reference to the spring boot plugin. My current approach is to build the entire reactor (via install goal), and later run repackaging goal only on particular