Show List
Quiz - Maven - 1
Select the right answer for below questions:
What is Maven?
A build automation tool
A text editor
A database management system
A web server
A build automation tool
Which of the following is a core feature of Maven?
Dependency management
Code coverage analysis
Load testing
Network monitoring
Dependency management
Which file contains the configuration for a Maven project?
pom.xml
build.xml
config.xml
settings.xml
pom.xml
What is the default location for the local repository in Maven?
~/.m2/repository
~/maven/repository
/opt/maven/repository
/usr/local/maven/repository
~/.m2/repository
Which command is used to create a new Maven project?
mvn clean
mvn compile
mvn archetype:generate
mvn package
mvn archetype:generate
Which command is used to compile a Maven project?
mvn clean
mvn compile
mvn archetype:generate
mvn package
mvn compile
Which command is used to package a Maven project?
mvn clean
mvn compile
mvn archetype:generate
mvn package
mvn package
Which command is used to clean a Maven project?
mvn clean
mvn compile
mvn archetype:generate
mvn package
mvn clean
Which command is used to run unit tests for a Maven project?
mvn clean
mvn test
mvn install
mvn package
mvn test
Which command is used to install a Maven project in the local repository?
mvn clean
mvn test
mvn install
mvn package
mvn install
Submit
Retry
{"qz1-556977":"A build automation tool","qz1-556978":"Dependency management","qz1-556979":"pom.xml","qz1-556980":"~/.m2/repository","qz1-556981":"mvn archetype:generate","qz1-556982":"mvn compile","qz1-556983":"mvn package","qz1-556984":"mvn clean","qz1-556985":"mvn test","qz1-556986":"mvn install"}
Leave a Comment