Maven MCQ
Maven MCQ
com
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.
A. True
B. False
Q2. __ can manage a project's build, reporting and documentation from a central piece of
information.
A. Maven
B. Scala
C. PHP
D. None of the following
Q3. Is Maven can manage a project's build, reporting, and documentation from a central
piece of information?
A. Yes
B. No
A. POM
B. OOPS
C. Both A and B
D. None of the above
Q6. Which of the following are the phases of Maven Build Lifecycle?
A. validate
B. prepare-resources
C. compile
D. All of the above
A. local
B. remote
C. central
D. dependency
Q8. Which of the following command removes the target directory with all the build data
before starting the build process?
A. mvn clean
B. mvn build
C. mvn compile
D. mvn site
A. Clears the target directory into which Maven normally builds your project.
B. Builds the project and packages the resulting JAR file into the target directory.
C. Prints out the version of Maven you are running.
D. All of the above
Q10. 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?
A. mvn install
B. mvn verify
C. mvn package
D. None of the above
Q11. 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”.
A. RetroNamingScheme
B. CamelCaseNamingScheme
C. JavaReflectionImposteriser
D. LastWordNamingScheme