Home / Interview / Maven :: General Questions

Interview :: Maven

21) What is a remote repository?

Maven remote repository is located on the web by different vendors. So you need to define the dependency in pom.xml file manually. It is important because most of the libraries are missing from the central repository.

22) What is POM?

POM stands for Project Object Model. The pom.xml file contains information of project and project configuration.

23) What are the build phases in Maven?
  1. validate
  2. compile
  3. test
  4. package
  5. integration-test
  6. verify
  7. install
  8. deploy
24) What is the command to package maven project?
25) What is the fully qualified artifact name of maven project?
26) What is an archetype?

Archetype is the maven plugin. It creates the project structure.