Q.1
Which of the following is not a maven goal?
  • clean
  • debug
  • install
  • None of the above
Q.2
Maven is used to do which of the following?
  • Build software development projects
  • Publish software development projects
  • Deploy software development projects
  • All of the above
Q.3
Which command can tell the version of maven?
  • mvn version
  • mvn --version
  • maven -version
  • maven --version
Q.4
Which of the following is true about clean maven life cycle?
  • 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
Q.5
Maven plugins are generally used to create ............
  • jar file
  • ear file
  • war file
  • All of the above
Q.6
Which of the following is true about maven?
  • Maven in written in Java.
  • Maven is initially released in 2004.
  • Maven is developed by Apache software foundation.
  • All of the above
Q.7
Which of the following aspects of a project can be managed using maven?
  • Builds
  • Reporting
  • Documentatio
  • All of the above
Q.8
What is the sequence in which maven looks for the resources?
  • Local -> Remote - Maven Central
  • Remote-> Local -> Maven Central
  • Remote-> Maven Central - > Local
  • None of the above
Q.9
Which of the following is used by maven?
  • config.xml
  • pom.xml
  • META-INF
  • None of the above
Q.10
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”.
  • RetroNamingScheme
  • CamelCaseNamingScheme
  • JavaReflectionImposteriser
  • LastWordNamingScheme
Q.11
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?
  • mvn install
  • mvn verify
  • mvn package
  • None of the above
Q.12
Which of the following command removes the target directory with all the build data before starting the build process?
  • mvn clean
  • mvn build
  • mvn compile
  • mvn site
Q.13
What is the use of mvn package command in Maven?
  • 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
Q.14
Which of the following is not type of Maven Repository?
  • local
  • remote
  • central
  • dependency
Q.15
Which of the following are the phases of Maven Build Lifecycle?
  • validate
  • prepare-resources
  • compile
  • All of the above
Q.16
___ contains information about the project and various configuration detail used by Maven to build the project(s).
  • POM
  • OOPS
  • Both A and B
  • None of the above
Q.17
In Maven, POM stands for ___.
  • Project Object Model
  • Process Object Model
  • Project Object Method
  • All of the above
Q.18
Is Maven can manage a project's build, reporting, and documentation from a central piece of information?
  • Yes
  • No
Q.19
__ can manage a project's build, reporting and documentation from a central piece of information.
  • Maven
  • Scala
  • PHP
  • None of the following
Q.20
Apache Maven is a software project management and comprehension tool.
  • True
  • False
0 h : 0 m : 1 s