March 09
Prof. Ismael H. F. Santos                                                                               2
POM Build settings
nHalf of Maven's power lies within the two elements build and reporting.
nPackaging - describes                                                                       to Maven what default                                                                  goals to bind under the lifecycle and offers a hint of the project's type. Default value is jar. The other valid types are: pom, maven-plugin, ejb, war, ear, rar, par, and ejb3. These values are each associated with a default list of goals to execute for each corresponding build lifecycle stage (mvn jar:jar; mvn ejb:ejb ).
nProperties - is used throughout a POM and Maven plug-ins as a replacement for values. In the example bellow wherever the property is used within the POM as ${env.name}, Maven will replace that string with the value tiger.