Skip to content
Sharp

Build Tools · interview question

How does Maven resolve dependencies that are not present in the local repository?

Multiple choiceEasychapter-10-curatedpremiumbuild-toolsdependency-management
Choose one answer
Answer and explanation

Correct answer

D. By downloading them from a central repository

Why

When Maven encounters a dependency that is not present in the local repository, it automatically downloads it from a central repository. This is one of Maven's key features, simplifying dependency management.

Test yourself on Build Tools

A free test with instant, explained results. No account needed.

Start free test
All Build Tools questions →