Add domain and dom4j as dependency to the RS module