Build profile is provided through ProductConfig
WFLY-1779: Build switch for choosing the Analytics provider doesn't work
execution mode is tracked through product config