🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Docs and Production: all 10 questions

Quiz: Docs and Production · Question 6 of 10

Why is the springdoc dependency written with an explicit version in pom.xml?

Why is the springdoc dependency written with an explicit version in pom.xml?

  1. A.Every dependency needs one
  2. B.springdoc is not part of Spring Boot's managed dependencies
  3. C.To force an old version
  4. D.Because it is a test dependency
Answer & explanation

Correct answer: springdoc is not part of Spring Boot's managed dependencies

The Boot parent only manages versions of libraries it knows about.

Can you get the rest right without peeking?

Take the timed Quiz: Docs and Production quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →