copy modules directory if jetty version is 9 or above