Fix the bug of not considering dependency management project.version