Restore previous order of dependencies in pom