Throw some light on the pom.xml file in Maven.

devquora
devquora

Posted On: Feb 22, 2018

 

Here, the full form of POM is project object model. This model consists of all the information about the project. It also consists of the configuration information for the Maven to build the project. It contains the dependencies, build directory, source directory, test source directory, plugin, goals, etc. First the pom.xml file is read and then only the goal is executed. Firstly this pom.xml file was named as project.xml file but after the release of the latest version, it was changed to pom.xml file. There are basically five elements which are used to create a pom.xml file. They are:
  • Project
  • modelVersion
  • groupId
  • artifactId
  • Version.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Devops Maven Interview Questions

    What do you understand by maven software?

    A powerful project management tool based on project object model is known as maven software. It helps in building proje..

    Devops Maven Interview Questions

    What are some problems which we face while the development of a project when Maven is not used?

    Following is a list of some problems which we face while developing a project when Maven is not used: –Addition of ..

    Devops Maven Interview Questions

    What are the tasks which are performed by Maven?

    All the problems which are mentioned above are simplified by Maven and it performs various tasks which are as follows: ..