Sunday, June 26, 2011

What is pom.xml

POM is a xml file which contains the project configuration details used by Maven. It provides all the configuration required for a project. POM means Project Object Model & as the name suggests it defines the model of the project as well. In the normal project development you will add jar files & libraries  as required. In maven based development, those jars, libraries are added to the project using this pom.xml. In the pom context we call those jars, libraries as Dependencies.
A sample pom.xml would be like this.