Maven Interview Questions | Snaprecruit.com
Maven Interview Questions | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Maven interview questions
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 10
1. Can we run Junits as a part of Jenkins job?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
2. Which of below is not a dependency management tool?
A. Ant
B. Maven
C. Gradle
D. Jenkins
Show Correct Answer
Correct Answer is :
Jenkins
3. Which of the following is not a maven goal?
A. clean
B. package
C. install
D. debug
Show Correct Answer
Correct Answer is :
debug
4. Which file is used to define dependency in maven?
A. build.xml
B. pom.xml
C. dependency.xml
D. version.xml
Show Correct Answer
Correct Answer is :
pom.xml
5. Which file is used to specify the packaging cycle?
A. build.xml
B. pom.xml
C. dependency.xml
D. version.xml
Show Correct Answer
Correct Answer is :
build.xml
6. Which environment variable is used to specify the path to maven?
A. JAVA_HOME
B. PATH
C. MAVEN_HOME
D. CLASSPATH
Show Correct Answer
Correct Answer is :
MAVEN_HOME
7. Which of the below is a source code management tool?
A. Jenkins
B. Maven
C. Git
D. Hudson
Show Correct Answer
Correct Answer is :
Git
8. Which command can be used to check maven version?
A. mvn -ver
B. maven -ver
C. maven -version
D. mvn -version
Show Correct Answer
Correct Answer is :
mvn -version
9. Which of the following is not true for Ant?
A. It is a tool box
B. It provides lifecycle management
C. It is procedural
D. It doesn’t have formal conventions
Show Correct Answer
Correct Answer is :
It provides lifecycle management
10. Which maven plugin creates the project structure?
A. dependency
B. properties
C. archetype
D. execution
Show Correct Answer
Correct Answer is :
archetype
Similar Interview Questions
Search for latest jobs
Title
Location
Find Jobs