Apache Maven Interview Questions
Questions Answers Views Company eMail

What is the maven build lifecycle?

124

What is the command to create a new project based on an archetype?

122

If you fail to define any information, where does your pom inherits that information from?

134

What is a transitive dependency in maven?

137

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

123

What is the meaning of the message “you cannot have two plugin executions with the same or missing elements”?

150

Is there a particular sequence in which maven searches for dependency libraries?

165

What are the default values for the packaging element?

138

What are the aspects maven manages?

186

What is a goal in maven terminology?

163

Tell me the command to install jar file in local repository.

127

How to run the clean plugin automatically during the build?

150

Why should one use maven?

125

What information does pom contain?

147

What is the use of optional dependency?

105


Post New Apache Maven Questions

Un-Answered Questions { Apache Maven }

Mention the phases of cleaning lifecycle.

121


What is build profile?

139


What is a goal in maven terminology?

163


What is the difference between compile and install?

137


What is the meaning of the message “you cannot have two plugin executions with the same or missing elements”?

150






How do you tell maven to use the latest version of a dependency?

139


What is a transitive dependency in maven?

137


What are the tasks which are performed by maven?

130


What is pom in maven?

147


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

127


What are the benefits of transitive depency in maven?

143


What are the aspects does maven manages?

136


What means snapshot in maven?

144


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

134


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

138