Apache Maven Interview Questions
Questions Answers Views Company eMail

what is Maven? How does it work?

15

Why Maven Plugins are used?

23

Explain how to run test classes in Maven?

20




List out the dependency scope in Maven?

20

List out what are the Maven’s order of inheritance?

26

what is POM?

54

For POM what are the minimum required elements?

50

what is Maven Repository? What are their types?

59




List out what are the aspects does Maven Manages?

65

List out what are the build phases in Maven?

64

Explain how you can exclude dependency?

67

In Maven what are the two setting files called and what are their location?

67

List out the build, source and test source directory for POM in Maven?

56

Where do you find the class files when you compile a Maven project?

51

Explain how you can produce execution debug output or error messages?

55


Post New Apache Maven Questions






Un-Answered Questions { Apache Maven }

How do you convert input stream into string?

15


When you say maven uses convention over configuration?

11


What is the minimal set of information for matching dependency reference against a dependencymanagement section?

5


Explain what would the “jar: jar” goal do?

147


What is maven's order of inheritance?

14






How can I change the default location of the generated jar when I command "mvn package"?

7


Explain the difference between apache ant and maven?

15


What types of maven repository?

21


What do you mean by maven?

15


What are the main advantages of maven?

25


What is the fully qualified artifact name of maven project?

21


How to tackle duplicate classes in maven build?

9


How do you force maven to copy dependencies into target/lib?

11


What is a maven assembly?

9


When does maven use the external dependency concept?

11