Fix dependency order in the POM