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”.
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. You can also take the online quiz from the take Maven Quiz Button.

  • Maven
  • Scala
  • PHP
  • None of the following
  • 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