I have a multi module Maven project that has a ‘database’ module that tears down/sets up the database needed for integration testing on all subsequent modules. Because it is a script rather than Java module Maven can’t resolve any dependencies and so it always seems to get executed last.
Is there an option to override the execution order in the parent POM?
OK maven apparently honors the order modules are specified in the parent, so this works nicely: