← Quiz: Roadmap and Maven: all 10 questions
Quiz: Roadmap and Maven · Question 10 of 10
You run ./mvnw package. Which phases run before the jar is built?
You run ./mvnw package. Which phases run before the jar is built?
- A.Only package
- B.install and deploy
- C.validate, compile and test
- D.None; package skips tests always
Answer & explanation
Correct answer: validate, compile and test
Maven runs every lifecycle phase up to the one you ask for, in order.
Can you get the rest right without peeking?
Take the timed Quiz: Roadmap and Maven quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →