Build order of Maven multimodule project?
The situation is, I have two Maven multimodule projects with the same structure: Parent - Module 1 - Module 2 When I build project 1, I see that parent is built first (order is parent->module1->module2 ). However for project 2, parent is built at last (order is module1->module2->parent ). Why are the two projects have different build orders? Furthermore, how can I manually control the build order? Update 1: Both parent projects are simple POM projects without source code, so I can't explain the build order as per the dependency graph. Update 2: The parent POMs are the same except the GAV and