Maven Profiles Section
By using profiles section you can provide different dependencies and configuration
for different profiles(development/test/production) of the project deployement.
<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
//add the respective plugins
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>development</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
//add the respective plugins
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>test</id>
<build>
<plugins>
<plugin>
//add the respective plugins
</plugin>
</plugins>
</build>
</profile>
</profiles>