Apache Maven Interview Questions
Questions Answers Views Company eMail

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

171

What is the command to build your maven site?

197

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

172

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

203

What are the types of maven plugins?

182

What is a system dependency?

175

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

207

What is snapshot in maven?

178

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

458

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

165

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

151

What are the different phases of a maven build lifecycle?

174

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

185

What are different types of build profiles?

166

What is a maven repository?

176


Post New Apache Maven Questions

Un-Answered Questions { Apache Maven }

Mention the three build lifecycle of Maven?

226


What is dependency exclusion?

162


What is a snapshot maven?

179


What does the build tool?

204


What are the different types of profile in maven? Where will you define these profiles?

238


Name the 3 build lifecycle of maven.

200


What is the use of the exclusion element?

182


Mention the steps for installing maven on windows.

182


What is the difference between compile and install?

170


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

173


What is a local repository?

151


How to force the intellij idea to reread/update all dependencies specified in the pom file?

186


What is a maven repository?

176


What is an uber jar?

209


What are the different ways to convert an inputstream to a sting?

183