LPS-46785 - Modify JBoss EAP build scripts