Activate Maven profile if another profile is not activated
Profile x will be the the only active profile when you call mvn … -P x. Reason from the maven documentation: Profiles can be explicitly specified using the -P CLI option. This option takes an argument that is a comma-delimited list of profile-ids to use. When this option is specified, no profiles other than those … Read more