A profile can be specified in
settings.xml. Each profile may be created for a specific purpose; for instance, to run on a particular platform or to run in an integration environment. All profiles may not need to run in all cases. Maven provides a mechanism to activate and deactivate a profile as required.
Use the project where we created the profile to add a new Maven profile section.
Let's perform the following steps to activate/deactivate a Maven profile:
The output for ...