Apache Maven Interview Questions
Questions Answers Views Company eMail

What is the use of maven repository?

174

What is maven?

173

What is a mojo?

185

Difference between maven project and module?

160

What is maven repository central?

185

How to tackle duplicate classes in maven build?

195

Difference between maven and ant?

172

What is the sequence in which maven looks for the resources?

1515

How to specify the sequence in which sub modules needs to be built?

159

How do you resolve maven dependencies issue while upgrading dependencies versions?

164

How can we see dependencies for the project and where exactly they are defined?

165

What is the default location of local repository?

154

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

165

What is a cyclic dependency?

152

What would you do if you have to add a jar to the project using maven?

148


Post New Apache Maven Questions

Un-Answered Questions { Apache Maven }

What is a maven assembly?

188


What is maven repository central?

185


Why Maven Plugins are used?

176


What are the default values for the packaging element? If there is no packaging element defined? What is the default value for that?

151


What is the purpose of maven?

171






Mention how profiles are specified in Maven?

209


What is mojo?

264


What is the use of optional dependency?

143


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

179


What is the command to check the maven version?

190


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

205


For POM what are the minimum required elements?

357


What would the command mvn clean do?

155


How to tackle duplicate classes in maven build?

195


Define archetype.

230