How can Maven profiles be triggered?
by explicitly calling the profiles using the -P flag
through Maven settings
based on environment variables
all of these answers