by, 11-07-2011 at 07:01 PM (782 Views)
Maven uses an XML project descriptor to generate the object model for project. This file is POM.XML and should be located at the top level directory of the project.
The XML file contains all the needed information for the project. Apart from core information, it also contains groupid, version, name and all the libraries needed for the project.
You may create profiles in POM file as shown below: