Apache Maven Interview Questions
Questions Answers Views Company eMail

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

173

What is the command to build your maven site?

199

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

174

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

205

What are the types of maven plugins?

182

What is a system dependency?

177

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?

460

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

167

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

151

What are the different phases of a maven build lifecycle?

178

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?

168

What is a maven repository?

178


Post New Apache Maven Questions

Un-Answered Questions { Apache Maven }

For POM what are the minimum required elements?

371


What phases does a clean lifecycle consist of?

190


Why is the use of the profile required in maven?

171


What is the purpose of mvn clean command?

164


What aspects are managed by maven?

207


What do you mean by maven?

169


What is the role of a build tool in apache maven?

185


How do you specify the java compiler version in a pom.xml file?

157


Explain how you can exclude dependency?

359


Where are maven dependencies downloaded to?

161


How do you know the version of mvn you are using?

152


What are the different types of profile in maven?

172


What is an uber jar? What does an uber-jar mean and what are its features/advantages?

193


What are the differences between ant and maven?

211


What are different dependency scopes in maven?

140