fixes for gateway, release and drools archetype