BZ-1037733: Added custom profiles for building EAP modules distributions.