Maven MCQ

  1. Apache Maven is a software project management and comprehension tool.
  2. __ can manage a project's build, reporting and documentation from a central piece of information.
  3. Is Maven can manage a project's build, reporting, and documentation from a central piece of information?
  4. In Maven, POM stands for ___.
  5. ___ contains information about the project and various configuration detail used by Maven to build the project(s).
  6. Which of the following are the phases of Maven Build Lifecycle?
  7. Which of the following is not type of Maven Repository?
  8. Which of the following command removes the target directory with all the build data before starting the build process?
  9. What is the use of mvn package command in Maven?
  10. Which of the following command builds the project described by your Maven POM file and installs the resulting artifact (JAR) into your local Maven repository?
  11. Which one of the following is a naming scheme in which the implicit name for a mock object is the mocked type’s name prepend with “mock”.
  12. Which of the following is used by maven?
  13. What is the sequence in which maven looks for the resources?
  14. Maven is used to do which of the following?
Maven MCQ

Take Maven MCQ Quiz & Online Test to Test your Knowledge

We have listed below the few Maven MCQ Questions that check your basic knowledge of Maven. This Maven MCQ Test contains 20 Multiple Choice Questions. You have to select the right answer to the question. Apart from this, you can also download below the Maven MCQ PDF Completely free.

  • True
  • False
  • Project Object Model
  • Process Object Model
  • Project Object Method
  • All of the above
View Answer
  • validate
  • prepare-resources
  • compile
  • All of the above
View Answer
  • Clears the target directory into which Maven normally builds your project.
  • Builds the project and packages the resulting JAR file into the target directory.
  • Prints out the version of Maven you are running.
  • All of the above
View Answer
  • config.xml
  • pom.xml
  • META-INF
  • None of the above
View Answer
  • Local -> Remote - Maven Central
  • Remote-> Local -> Maven Central
  • Remote-> Maven Central - > Local
  • None of the above
View Answer
  • Build software development projects
  • Publish software development projects
  • Deploy software development projects
  • All of the above
View Answer
  • Builds
  • Reporting
  • Documentatio
  • All of the above
View Answer
  • Maven in written in Java.
  • Maven is initially released in 2004.
  • Maven is developed by Apache software foundation.
  • All of the above
View Answer
  • jar file
  • ear file
  • war file
  • All of the above
View Answer
  • This is used to build the application
  • It cleans up artifacts created by prior builds
  • This generates site documentation for the project.
  • All of the above
View Answer
  • mvn version
  • mvn --version
  • maven -version
  • maven --version
View Answer