← Quiz: Roadmap and Maven: all 10 questions
Quiz: Roadmap and Maven · Question 2 of 10
Which Maven command produces a runnable jar in target/?
Which Maven command produces a runnable jar in target/?
- A.mvnw clean
- B.mvnw validate
- C.mvnw package
- D.mvnw spring-boot:stop
Answer & explanation
Correct answer: mvnw package
package runs compile and test first, then builds the jar.
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 →