Having a project with multiple submodules, how do I specify which module is the first to deploy, which is the second and so on?
This order is same as build order in reactor (deploy of module is done just after it's packaged, module after module), so it depends on dependencies between modules. If there's more than one module with the same "priority" within reactor build order, order in pom.xml is used then.
So, in general, modules with no dependencies on other modules will be build somewhere in the beginning and modules with many dependencies on other modules will be build somewhere in the end.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With