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?

159

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?

167

What are the types of maven plugins?

141

What is a system dependency?

141

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

179

What is snapshot in maven?

145

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?

141

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

120

What are the different phases of a maven build lifecycle?

142

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

153

What are different types of build profiles?

126

What is a maven repository?

141


Post New Apache Maven Questions

Un-Answered Questions { Apache Maven }

Mention the three build lifecycle of Maven?

188


What are the three build life cycles of maven? Mention them.

124


What are the types of maven plugins?

141


What is the use of plugins in maven?

139


What is force maven update?

178






What is meant by a goal in maven?

149


Mention the difference between Apache Ant and Maven?

219


What is the default location of local repository?

125


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

138


What does maven dependency plugin do?

134


Name the 3 build lifecycle of maven.

165


What is the use of the exclusion element?

149


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

127


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

179


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

203