Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams As the comment says it has been defined by a dependencyManagement block in a parent pom or may be in the same pom. khmarbaise Feb 7, 2015 at 14:33

When resolving dependencies, Maven will prefer a version specified in the POM's section over the version resolved from dependencies and transitive dependencies.

Note that can be inherited from a parent POM.

See the Maven documentation on Dependency Mechanism for more info.

Specifically, check the part of the page that starts as below for a detailed explanation.

A second, and very important use of the dependency management section is to control the versions of artifacts used in transitive dependencies. As an example consider these projects:

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .