Apache Maven Interview Questions
Questions Answers Views Company eMail

What is the dependency scope? Name all the dependency scope.

138

What is the command to build your maven site?

157

Is it possible to refer a property defined in your pom.xml file?

137

How maven handles and determines what version of dependency will be used when multiple versions of an artifact are found?

163

What are the types of maven plugins?

137

What is a system dependency?

137

What is the use of the execution element in pom file?

173

What is snapshot in maven?

141

What are the elements in pom that a profile can freely modify when specified in the pom?

418

What are the things that you must define for each external dependency?

137

What would the command mvn clean dependency:copy-dependencies package do?

112

What are the different phases of a maven build lifecycle?

140

What are the benefit of storing jars/external dependencies in the local repository instead of a remote one?

147

What are different types of build profiles?

120

What is a maven repository?

137


Post New Apache Maven Questions

Un-Answered Questions { Apache Maven }

What is the dependency scope? Name all the dependency scope.

138


What is the command to check the maven version?

162


Mention the phases of cleaning lifecycle.

121


What is the difference between a release version and snapshot version in maven?

190


Is there a way I can configure maven to always download sources and javadocs?

131






Explain what is maven repository? What are their types?

120


When does maven use the external dependency concept?

130


Explain what is maven? How does it work?

162


What is the use of the execution element in pom file?

173


What is a goal in maven terminology?

163


What is the use of optional dependency?

105


How do you run junit tests in parallel in a maven build?

108


Throw some light on the pom.xml file in maven.

141


What is force maven update?

172


What is the default location of local repository?

122