Top 20 Maven Interview Questions

1. What is Maven? Maven is a build automation or a project management and comprehension tool. It is used by a developer to compile application. It provides a complete build lifecycle framework to the developers. It is an automated build tool and the development team can easily automate the project’s build infrastructure in almost no time as Maven uses a standard directory layout and a default build lifecycle. Maven is generally used for various purposes such as documentation, project development, reporting and releases. 2. What is POM in Maven? POM stands for Project Object Model. It is the basic unit of work in Maven. It is an XML file that always resides in the base directory of the project as “pom.xml”. It contains the information about the project and various configuration details that are being used by Maven to build the project, such as Project dependencies, plugins, goals, build profiles, Project version, developers, etc. 3. What are the differences between ANT and Maven? ...